Flaggensymbol mit Bootstrap-Unterrand nach oben verschoben
This commit is contained in:
parent
037ebfbe5c
commit
c3db8d0d00
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-4 d-flex justify-content-center align-items-center">
|
||||
<div class="col-4 mb-3 d-flex justify-content-center align-items-center">
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-outline-secondary dropdown-toggle" type="button" id="langDropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<span class="fi @_cultures.FIClassOf(userLanguage).TrySanitize(_sanitizer) me-2" id="selectedFlag"></span><span id="selectedLanguage"></span>
|
||||
|
||||
@ -17,13 +17,11 @@
|
||||
.btn_refresh, .btn_complete {
|
||||
height:4vh
|
||||
}
|
||||
.btn_refresh {
|
||||
}
|
||||
.btn_complete{
|
||||
}
|
||||
|
||||
.btn_complete .icon {
|
||||
width: 2vh;
|
||||
}
|
||||
|
||||
.btn_complete span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
@ -173,27 +171,6 @@ footer#page-footer a:focus {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
/* --- */
|
||||
/* Adjusting the height of the select2 container */
|
||||
.dropdown-flag .select2-container--default .select2-selection--single {
|
||||
height: 40px; /* Desired height */
|
||||
}
|
||||
|
||||
/* Adjusting the height and vertical alignment of the selected item */
|
||||
.dropdown-flag .select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
line-height: 38px; /* Should be 2px less than the height for internal padding */
|
||||
}
|
||||
|
||||
/* Adjusting the height of the dropdown arrow */
|
||||
.dropdown-flag .select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 38px; /* Again, 2px less than the height */
|
||||
}
|
||||
|
||||
/* Adjusting the height of dropdown list items */
|
||||
.dropdown-flag .select2-container--default .select2-dropdown .select2-results>.select2-results__options {
|
||||
max-height: 200px; /* Optional, adjust for larger dropdown height */
|
||||
}
|
||||
|
||||
/* CSS for custom class to increase dropdown height */
|
||||
.increase-dropdown-height {
|
||||
min-height: 400px; /* Optional, larger value for increased height */
|
||||
@ -206,23 +183,6 @@ footer#page-footer a:focus {
|
||||
max-width: 180px; /* Suitable maximum width for the form */
|
||||
}
|
||||
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border-color: #86b7fe;
|
||||
outline: 0;
|
||||
mask-border-width: 0
|
||||
}
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field:hover {
|
||||
border-color: #86b7fe;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
|
||||
}
|
||||
|
||||
.select2-search__field {
|
||||
display:none
|
||||
}
|
||||
|
||||
.lang-item {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user