diff --git a/visualization/app/material/matSelect.scss b/visualization/app/material/matSelect.scss new file mode 100644 index 0000000000..121492d99a --- /dev/null +++ b/visualization/app/material/matSelect.scss @@ -0,0 +1,8 @@ +@import "./matSelectMetricChooser"; +@import "./matSelectFileSelect"; + +.cdk-overlay-pane { + .mat-mdc-select-panel { + padding: 0; + } +} diff --git a/visualization/app/material/matSelectFileSelect.scss b/visualization/app/material/matSelectFileSelect.scss index f178ced5b4..9d8bd92716 100644 --- a/visualization/app/material/matSelectFileSelect.scss +++ b/visualization/app/material/matSelectFileSelect.scss @@ -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; diff --git a/visualization/app/material/matSelectMetricChooser.scss b/visualization/app/material/matSelectMetricChooser.scss index 6a9f42d2c3..7122a8802d 100644 --- a/visualization/app/material/matSelectMetricChooser.scss +++ b/visualization/app/material/matSelectMetricChooser.scss @@ -11,7 +11,6 @@ width: 300px !important; .mat-mdc-select-panel { - padding: 0; overflow: visible; max-height: none; } diff --git a/visualization/app/material/material.scss b/visualization/app/material/material.scss index d3f6165daa..58ad80826c 100644 --- a/visualization/app/material/material.scss +++ b/visualization/app/material/material.scss @@ -21,5 +21,4 @@ @import "./matMenu"; @import "./matDialog"; -@import "./matSelectMetricChooser"; -@import "./matSelectFileSelect"; \ No newline at end of file +@import "./matSelect"; \ No newline at end of file