Finish lang selector

This commit is contained in:
HackerNCoder 2022-10-30 19:39:25 +01:00
parent ec774b7a52
commit 1803c12658
2 changed files with 5 additions and 3 deletions

View file

@ -11726,7 +11726,7 @@ body {
padding: 0.375rem 0.75rem;
background-color: white;
color: black;
box-shadow: none;
}
.dropdown-toggle::after {
display: inline-block;
@ -11743,6 +11743,8 @@ body {
.dropdown-toggle:empty::after {
margin-left: 0;
}
.dropdown-toggle:hover {
border-color: black;
.dropdown-menu {
position: absolute;
@ -11753,7 +11755,7 @@ body {
float: left;
min-width: 10rem;
padding: 0.5rem 0;
margin: 0.125rem 0 0;
margin: 0 0 0;
font-size: 1rem;
color: #212529;
text-align: left;

View file

@ -1,6 +1,6 @@
{% set alts = bag('alternatives').items() %}
<div class="btn-group dropdown pull-right">
<button type="button" class="btn btn-dark bg-dark dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn dropdown-toggle btn-block my-3 my-sm-0" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ bag('alternatives', this.alt, 'language') }}
</button>
<div class="dropdown-menu">