From c5157b89218ed6a7aefd34375243b5fdfd769e3a Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 11 May 2024 11:40:04 +0300 Subject: [PATCH] Add gap to root --- components/lib/megamenu/style/MegaMenuStyle.js | 2 ++ components/lib/menubar/style/MenubarStyle.js | 1 + 2 files changed, 3 insertions(+) diff --git a/components/lib/megamenu/style/MegaMenuStyle.js b/components/lib/megamenu/style/MegaMenuStyle.js index 6c7fd8391..698c0f103 100644 --- a/components/lib/megamenu/style/MegaMenuStyle.js +++ b/components/lib/megamenu/style/MegaMenuStyle.js @@ -9,6 +9,7 @@ const theme = ({ dt }) => ` border: 1px solid ${dt('megamenu.border.color')}; border-radius: ${dt('megamenu.border.radius')}; color: ${dt('megamenu.color')}; + gap: ${dt('megamenu.gap')}; } .p-megamenu-root-list { @@ -19,6 +20,7 @@ const theme = ({ dt }) => ` align-items: center; display: flex; flex-wrap: wrap; + gap: ${dt('megamenu.gap')}; } .p-megamenu-root-list > .p-megamenu-item > .p-menumegamenubar-item-content { diff --git a/components/lib/menubar/style/MenubarStyle.js b/components/lib/menubar/style/MenubarStyle.js index 40ae0795e..937d6aaff 100644 --- a/components/lib/menubar/style/MenubarStyle.js +++ b/components/lib/menubar/style/MenubarStyle.js @@ -9,6 +9,7 @@ const theme = ({ dt }) => ` border-radius: ${dt('menubar.border.radius')}; color: ${dt('menubar.color')}; padding: ${dt('menubar.padding')}; + gap: ${dt('menubar.gap')}; } .p-menubar-root-list,