Skip to content

Commit 662a6f2

Browse files
Enhance mobile layout: ensure consistent background colors, hide specific elements in mobile view, and improve overall visual clarity for better user experience.
1 parent b76686d commit 662a6f2

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

examples/mobile.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,32 @@
5555
margin-top: 0 !important;
5656
}
5757

58+
/* Garantir que o fundo permaneça como está, especialmente no Kanban */
59+
body {
60+
background-color: #f3f4f6 !important;
61+
/* bg-gray-100 */
62+
}
63+
64+
/* Garantir que o app não tenha fundo escuro */
65+
#app {
66+
background-color: transparent !important;
67+
}
68+
69+
/* Garantir que o wrapper principal não tenha fundo escuro */
70+
#app>div.flex.flex-wrap.app-wrapper {
71+
background-color: transparent !important;
72+
}
73+
74+
/* Corrigir fundo escuro específico do Kanban */
75+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>div>div {
76+
background-color: transparent !important;
77+
}
78+
79+
/* Garantir que o main do Kanban não tenha fundo escuro */
80+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main {
81+
background-color: transparent !important;
82+
}
83+
5884
.navbar-item-indicator {
5985
height: 3px;
6086
transition: all 0.3s ease;
@@ -356,6 +382,8 @@
356382
});
357383
</script>
358384

385+
386+
359387
<!-- Navbar Inferior - Visível apenas em dispositivos móveis (menor que md:768px) -->
360388
<div class="fixed bottom-0 w-full md:hidden z-[9999]">
361389
<nav class="navbar-container bg-navblue mx-auto max-w-lg shadow-lg">
@@ -445,6 +473,26 @@
445473

446474
@media (max-width: 768px) {
447475

476+
/* Ocultar input específico no mobile */
477+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>div>section>div>header>div>div>div:nth-child(1)>div>input {
478+
display: none !important;
479+
}
480+
481+
/* Ocultar ícone específico no mobile */
482+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>div>section>div>header>div>div>div:nth-child(1)>div>span {
483+
display: none !important;
484+
}
485+
486+
/* Ocultar bottom-left-labels no mobile */
487+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>div>div>header>div.bottom-left-labels {
488+
display: none !important;
489+
}
490+
491+
/* Ocultar bottom-right-actions button no mobile */
492+
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>div>div>header>div.bottom-right-actions>div>div>button {
493+
display: none !important;
494+
}
495+
448496
/* Botão de voltar */
449497
#app>div.flex.flex-wrap.app-wrapper.dark\:text-slate-300>main>section>div.conversation-details-wrap.bg-n-background>div.flex.flex-col.items-center.justify-between.px-4.py-2.border-b.bg-n-background.border-n-weak.md\:flex-row>div>div.flex.items-center.justify-start.max-w-full.min-w-0.w-fit>button {
450498
display: flex !important;

0 commit comments

Comments
 (0)