Skip to content

Commit

Permalink
mvc/view: Add style that forces consistency in smaller viewport sizes…
Browse files Browse the repository at this point in the history
… in base forms.
  • Loading branch information
Monviech committed Feb 21, 2025
1 parent 993487d commit 812175b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/opnsense/mvc/app/views/layout_partials/base_form.volt
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,14 @@
</table>
</div>
</form>

{# Ensure all fields stay the same width relative to each other inside the modal #}
<style>
@media (max-width: 760px) {
.bootstrap-select:not(.bs-container),
.tokenize ul.tokens-container {
width: 100% !important;
min-width: 0 !important;
}
}
</style>

0 comments on commit 812175b

Please sign in to comment.