diff --git a/components/lib/dialog/Dialog.css b/components/lib/dialog/Dialog.css index 87a3c57bab..8bddc1b657 100644 --- a/components/lib/dialog/Dialog.css +++ b/components/lib/dialog/Dialog.css @@ -16,6 +16,10 @@ display: flex; } +.p-dialog:not([class*='p-dialog-']) { + display: none; +} + .p-dialog-mask.p-component-overlay { pointer-events: auto; } diff --git a/components/lib/sidebar/Sidebar.css b/components/lib/sidebar/Sidebar.css index 69e44f36bd..dd0b8534d3 100644 --- a/components/lib/sidebar/Sidebar.css +++ b/components/lib/sidebar/Sidebar.css @@ -16,6 +16,10 @@ display: flex; } +.p-sidebar:not([class*="p-sidebar-"]){ + display: none; +} + .p-sidebar-mask.p-component-overlay { pointer-events: auto; }