Skip to content

Commit

Permalink
Merge pull request #878 from gbengaoluwadahunsi/workingBench-OptionUI
Browse files Browse the repository at this point in the history
Adjusted  Workbench html page option dropdown UI responsiveness on mobile view "
  • Loading branch information
birm authored Apr 24, 2024
2 parents 3417f7e + 263e762 commit c9c12b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
18 changes: 13 additions & 5 deletions apps/dev-workbench/workbench.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
display: flex;
flex-direction: row;
}
.navbar-brand{
.navbar-brand {
margin-right: 10rem !important;
}
/* All display none */
Expand All @@ -40,22 +40,30 @@
display: none;
}


#goBack{
#goBack {
display: flex;
margin: 0 1rem;
}
@media only screen and (max-width: 551px) {
nav {
flex-direction: column;
}

nav ul {
flex-direction: column;
}

nav ul li {
margin: 10px 0;
}
}

.dropdown-menu {
margin-left: -5em !important;
}

@media (max-width: 425px) {
.dropdown-menu {
margin-left: 0 !important;
}
}
3 changes: 2 additions & 1 deletion apps/dev-workbench/workbench.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<div style="cursor: pointer;" id="goBack">
<i data-feather="arrow-left" class="text-white"></i>
</div>

<!-- Navbar brand -->

<div class="navbar-brand-div flex-grow-1">
Expand All @@ -81,6 +81,7 @@


<ul class="navbar-nav mr-auto px-2">

<!-- Dropdown -->
<li

Expand Down

0 comments on commit c9c12b7

Please sign in to comment.