Merge pull request #897 from MiguelMedeiros/fix-rtl-menu-mobile

UI/UX: Fix rtl mobile header menu.
This commit is contained in:
softsimon 2021-11-06 01:50:51 +04:00 committed by GitHub
commit ad8398e3d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 5 deletions

View File

@ -72,6 +72,14 @@ li.nav-item {
width: 60%; width: 60%;
} }
.navbar {
.dropdown {
button {
width: 62px;
}
}
}
@media (min-width: 576px) { @media (min-width: 576px) {
.navbar-brand { .navbar-brand {
width: 140px; width: 140px;

View File

@ -17,7 +17,7 @@ form {
} }
.btn-block { .btn-block {
width: 58.55px; width: 62px;
} }
.search-box-container { .search-box-container {

View File

@ -688,6 +688,25 @@ th {
.reserved { color: #ff8c00 } .reserved { color: #ff8c00 }
.rtl-layout { .rtl-layout {
.navbar-brand {
margin-right: 0px;
text-align: right;
}
.dropdown {
margin-right: 1rem;
margin-left: 0;
@media (min-width: 576px) {
margin-left: 1rem;
}
@media (min-width: 768px) {
margin-left: 0;
}
}
.dropdown-menu-right {
left: 0px;
right: auto;
}
.fa-arrow-alt-circle-right { .fa-arrow-alt-circle-right {
@extend .fa-arrow-alt-circle-right; @extend .fa-arrow-alt-circle-right;
-webkit-transform: scaleX(-1); -webkit-transform: scaleX(-1);
@ -737,7 +756,7 @@ th {
} }
.bitcoin-block { .bitcoin-block {
direction: rtl; direction: rtl;
} }
.next-previous-blocks { .next-previous-blocks {