diff --git a/lib/content-services/src/lib/breadcrumb/dropdown-breadcrumb.component.html b/lib/content-services/src/lib/breadcrumb/dropdown-breadcrumb.component.html index f0ef44288b2..0a646d11433 100644 --- a/lib/content-services/src/lib/breadcrumb/dropdown-breadcrumb.component.html +++ b/lib/content-services/src/lib/breadcrumb/dropdown-breadcrumb.component.html @@ -18,6 +18,7 @@ .adf-breadcrumb-dropdown-panel){ + min-width: fit-content; +} diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.html b/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.html index 575cde7b354..c4e196d26f9 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.html +++ b/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.html @@ -1,5 +1,6 @@
diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss b/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss index 266580fd152..976a52e1728 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss +++ b/lib/content-services/src/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss @@ -45,6 +45,7 @@ h2.adf-search-results-label { &-input { width: 100%; + margin: 16px 0; &-icon { color: var(--adf-theme-foreground-icon-color-054); @@ -58,32 +59,13 @@ h2.adf-search-results-label { .adf-site-dropdown-container { display: block; - margin-bottom: 15px; - #{$mat-form-field-label} { - padding-top: 16px; - } - - #{$mat-floating-label-above} { - padding-top: 0; + .adf-sites-dropdown-form-field { + width: 100%; } } } - .adf-sites-dropdown-form-field { - margin-top: 4px; - margin-bottom: 16px; - } - - .adf-site-dropdown-list-element { - width: 100%; - margin-bottom: 0; - - .adf-sites-dropdown-select-trigger { - font-size: var(--theme-body-1-font-size); - } - } - &-breadcrumb { .adf-dropdown-breadcrumb-trigger { outline: none; diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss index 2f17221e716..519b274620b 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss +++ b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss @@ -44,27 +44,6 @@ adf-content-node-selector { .adf-content-node-selector-dialog { #{$mat-form-field} { width: 100%; - - #{$mat-select-arrow-wrapper} { - transform: translateY(2px); - padding-right: 4px; - } - - #{$mat-form-field-infix} { - border-top: 0.85em solid transparent; - padding-bottom: 6px; - padding-top: 20px; - } - - #{$mat-floating-label} { - padding-top: 8px; - } - } - - .adf-content-node-selector-content-input-icon { - font-size: 21px; - padding: 18px 0 0; - margin-right: -4px; } .adf-dropdown-breadcrumb-icon { @@ -81,9 +60,6 @@ adf-content-node-selector { } .adf-content-node-selector-dialog-title { - padding-bottom: 4px; - padding-left: 0; - padding-right: 0; font-size: var(--theme-title-font-size); font-weight: 600; font-style: normal; diff --git a/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html b/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html index dde05749f61..a2b9c41dbd5 100644 --- a/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html +++ b/lib/content-services/src/lib/content-node-selector/site-dropdown/sites-dropdown.component.html @@ -1,5 +1,5 @@