Skip to content

Commit

Permalink
Minor fixes for mobile styling (#5347)
Browse files Browse the repository at this point in the history
* Minor fixes for mobile styling

* typo

* typo

* Update application.bootstrap.scss

---------

Co-authored-by: Ahmad Farhat <[email protected]>
  • Loading branch information
scouillard and farhatahmad authored Aug 1, 2023
1 parent 1d2d16c commit 30e1796
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions app/assets/stylesheets/application.bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ body {
color: silver;
}

// TODO - samuel: make responsive/add breakpoints
.btn {
min-width: $button-min-width;
white-space: nowrap;

@include media-breakpoint-up(sm) {
min-width: $button-min-width;
}
}

.btn-sm {
Expand Down Expand Up @@ -196,7 +198,6 @@ input.search-bar {

#footer {
margin-top: $footer-buffer-height;
max-height: $footer-height;

#footer-container {
border-top: 1px solid #d0d5dd;
Expand All @@ -206,6 +207,10 @@ input.search-bar {
color: var(--brand-color) !important;
text-decoration: none !important;
}

@include media-breakpoint-up(sm) {
max-height: $footer-height;
}
}

.danger-light-button{
Expand Down Expand Up @@ -423,7 +428,6 @@ input.search-bar {
background: white !important;
color: black !important;
border-color: gainsboro !important;
min-width: 260px;
text-align: left;

&:hover, &:focus, &:active {
Expand All @@ -436,8 +440,10 @@ input.search-bar {
}
}

.dropdown-menu {
min-width: 260px;
button, .dropdown-menu {
@include media-breakpoint-up(sm) {
min-width: 300px;
}
}
}

Expand Down

0 comments on commit 30e1796

Please sign in to comment.