Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

fix(dashboard): keep the appearance popover inside the sidebar (#424)

Yudhi Armyndharis2702813702a4
diff --git a/dashboard/src/components/Layout.css b/dashboard/src/components/Layout.css
index e145cbae9..4c2fd6da8 100644
--- a/dashboard/src/components/Layout.css
+++ b/dashboard/src/components/Layout.css
@@ -285,7 +285,7 @@
display: flex;
flex-direction: column;
gap: 0.85rem;
- min-width: 254px;
+ max-width: 100%;
padding: 0.85rem;
background: var(--bg-white);
border: 1px solid var(--border);
@@ -379,8 +379,8 @@
}
.palette-grid {
- display: grid;
- grid-template-columns: repeat(7, 1fr);
+ display: flex;
+ flex-wrap: wrap;
gap: 0.45rem;
}
@@ -391,6 +391,7 @@
justify-content: center;
width: 30px;
height: 30px;
+ flex: 0 0 auto;
padding: 0;
border: 1px solid var(--border);
border-radius: 999px;