Browse Source

Minor improvements

pull/4157/head
Thomas Kaul 7 months ago
parent
commit
0c40a5c19c
  1. 16
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss
  2. 9
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

16
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.scss

@ -7,5 +7,21 @@
gf-line-chart { gf-line-chart {
aspect-ratio: 16/9; aspect-ratio: 16/9;
} }
.mat-expansion-panel {
--mat-expansion-container-background-color: transparent;
::ng-deep {
.mat-expansion-panel-body {
padding: 0;
}
}
.mat-expansion-panel-header {
&:hover {
--mat-expansion-header-hover-state-layer-color: transparent;
}
}
}
} }
} }

9
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

@ -281,11 +281,12 @@
<div class="mb-3"> <div class="mb-3">
<mat-accordion class="my-3"> <mat-accordion class="my-3">
<mat-expansion-panel <mat-expansion-panel
class="shadow-none"
(closed)="scraperConfiguationIsExpanded.set(false)" (closed)="scraperConfiguationIsExpanded.set(false)"
(opened)="scraperConfiguationIsExpanded.set(true)" (opened)="scraperConfiguationIsExpanded.set(true)"
> >
<mat-expansion-panel-header> <mat-expansion-panel-header class="p-0">
<mat-panel-title i18n> Scraper Configuration </mat-panel-title> <mat-panel-title i18n>Scraper Configuration</mat-panel-title>
</mat-expansion-panel-header> </mat-expansion-panel-header>
<div formGroupName="scraperConfiguration"> <div formGroupName="scraperConfiguration">
<div class="mt-3"> <div class="mt-3">
@ -341,11 +342,11 @@
</div> </div>
<div class="mt-3"> <div class="mt-3">
<mat-form-field appearance="outline" class="w-100 without-hint"> <mat-form-field appearance="outline" class="w-100 without-hint">
<mat-label i18n>URL</mat-label> <mat-label i18n>Url</mat-label>
<input formControlName="url" matInput type="text" /> <input formControlName="url" matInput type="text" />
</mat-form-field> </mat-form-field>
</div> </div>
<div class="my-3"> <div class="my-3 text-right">
<button <button
color="accent" color="accent"
mat-flat-button mat-flat-button

Loading…
Cancel
Save