Skip to content

Commit 89d9e1d

Browse files
Enhance mobile form layout: adjust form height to occupy full screen and ensure tab wrapping for improved usability on mobile devices.
1 parent 34cd49c commit 89d9e1d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

examples/mobile.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@
108108
padding: 1rem !important;
109109
order: 1 !important;
110110
}
111+
112+
/* Form ocupar toda a altura da tela no mobile */
113+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300.dark>main>div>div>div.flex-1.overflow-auto.dark>form {
114+
height: 100vh !important;
115+
min-height: 100vh !important;
116+
}
117+
118+
/* Forçar wrap na div dos tabs quando ultrapassar a tela no mobile */
119+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300.dark>main>div>div>div.flex-1.overflow-auto.dark>form>div.tabs-container.dark>div {
120+
flex-wrap: wrap !important;
121+
gap: 0.5rem !important;
122+
}
111123
}
112124

113125
.navbar-item-indicator {

0 commit comments

Comments
 (0)