Skip to content

Commit

Permalink
style(visualization): material select overlay padding
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderroidl committed Sep 4, 2024
1 parent abcc527 commit 917111d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 8 additions & 0 deletions visualization/app/material/matSelect.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import "./matSelectMetricChooser";
@import "./matSelectFileSelect";

.cdk-overlay-pane {
.mat-mdc-select-panel {
padding: 0;
}
}
4 changes: 0 additions & 4 deletions visualization/app/material/matSelectFileSelect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
.cdk-overlay-pane:has(.cc-file-select) {
width: 300px !important;

.mat-mdc-select-panel {
padding: 0;
}

.mat-mdc-option .mdc-list-item__primary-text {
flex: 1;
display: flex;
Expand Down
1 change: 0 additions & 1 deletion visualization/app/material/matSelectMetricChooser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
width: 300px !important;

.mat-mdc-select-panel {
padding: 0;
overflow: visible;
max-height: none;
}
Expand Down
3 changes: 1 addition & 2 deletions visualization/app/material/material.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@

@import "./matMenu";
@import "./matDialog";
@import "./matSelectMetricChooser";
@import "./matSelectFileSelect";
@import "./matSelect";

0 comments on commit 917111d

Please sign in to comment.