@inchurch/matcha-theme 22.14.0 → 22.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -210,8 +210,12 @@
|
|
|
210
210
|
flex: 1;
|
|
211
211
|
min-width: 0;
|
|
212
212
|
|
|
213
|
-
// Body inteiro some se nenhum slot interno tem conteúdo.
|
|
214
|
-
|
|
213
|
+
// Body inteiro some se nenhum slot interno tem conteúdo. Checa `:not(:empty)`
|
|
214
|
+
// (não `> *`) porque description é o slot default sem `select` — texto puro
|
|
215
|
+
// interpolado é o uso documentado (ver page-matcha-notification), sem elemento
|
|
216
|
+
// wrapper. `> *` só capturava conteúdo em elemento, escondendo o body inteiro
|
|
217
|
+
// quando a description era só texto (ex.: `<matcha-notification>{{ msg }}</matcha-notification>`).
|
|
218
|
+
&:not(:has(.matcha-notification__title:not(:empty), .matcha-notification__description:not(:empty))) {
|
|
215
219
|
display: none;
|
|
216
220
|
}
|
|
217
221
|
}
|