Merge pull request #2637 from MeecoLabs/mobile/dropdown-larger-size

UI: larger dropdown size for mobile devices
This commit is contained in:
Mouse Reeve 2023-02-10 15:57:03 -08:00 committed by GitHub
commit cc9e94261c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -40,7 +40,7 @@
}
.navbar-item {
// see ../components/_details.scss :: Navbar details
/* see ../components/_details.scss :: Navbar details */
padding-right: 1.75rem;
font-size: 1rem;
}
@ -109,3 +109,9 @@
max-height: 35em;
overflow: hidden;
}
.dropdown-menu .button {
@include mobile {
font-size: $size-6;
}
}

View file

@ -5,7 +5,7 @@
{% join "report" report_uuid as modal_id %}
<button
class="button is-small is-danger is-light is-fullwidth"
class="button is-small is-danger is-light is-fullwidth {{ class }}"
type="button"
data-modal-open="{{ modal_id }}"
{% if is_current %}disabled{% endif %}