Skip to content

Commit 3071fd0

Browse files
Mattia Vianellivins01-4science
authored andcommitted
Merged in task/dspace-cris-2025_02_x/DSC-2707 (pull request DSpace#4046)
Task/dspace cris 2025 02 x/DSC-2707 Approved-by: Francesco Molinaro
2 parents cd37f34 + 9eaf0c5 commit 3071fd0

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

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

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

13-
:host ::ng-deep .form-select {
14-
-webkit-appearance: none;
15-
-moz-appearance: none;
16-
appearance: none;
17-
}
1813

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

src/styles/_bootstrap_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ $border-radius: 0.25em;
6969

7070
$bs-border-radius-lg: 0.3rem;
7171

72+
$form-select-bg-img: 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");
73+
7274
$badge-padding-x: 0.4em;
7375
$badge-padding-y: 0.25em;
7476

src/styles/_bootstrap_variables_mapping.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,7 @@
108108
--bs-btn-focus-box-shadow: none;
109109
--bs-btn-active-border-color: transparent;
110110
}
111+
112+
.form-select {
113+
--bs-form-select-bg-img: #{$form-select-bg-img};
114+
}

src/styles/_global-styles.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,3 +605,10 @@ ngb-tooltip-window {
605605
@include ellipsis-y($i);
606606
}
607607
}
608+
609+
.form-select {
610+
-webkit-appearance: none !important;
611+
-moz-appearance: none !important;
612+
appearance: none !important;
613+
}
614+

0 commit comments

Comments
 (0)