Skip to content

Commit 4b60f6a

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2707 Moved the override for the form-select to the global styles
1 parent 242b117 commit 4b60f6a

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
height: fit-content;
1111
}
1212

13-
:host ::ng-deep .form-select {
14-
-webkit-appearance: none !important;
15-
-moz-appearance: none !important;
16-
appearance: none !important;
17-
background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat !important;
18-
}
1913

2014
:host ::ng-deep .btn-group-toggle > .btn input[type="radio"] {
2115
position: absolute;

src/styles/_global-styles.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,3 +605,12 @@ ngb-tooltip-window {
605605
@include ellipsis-y($i);
606606
}
607607
}
608+
609+
// Override Bootstrap form-select background image
610+
.form-select {
611+
-webkit-appearance: none !important;
612+
-moz-appearance: none !important;
613+
appearance: none !important;
614+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") !important;
615+
}
616+

0 commit comments

Comments
 (0)