@godxjp/ui 18.15.3 → 18.15.4
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.
|
@@ -299,13 +299,16 @@
|
|
|
299
299
|
* and Chrome drops the whole rule (measured, Chrome 151), so the toolbar body never lost its
|
|
300
300
|
* top padding. Valid equivalent: zero it for any header-hosted action, then the described
|
|
301
301
|
* (non-toolbar) header restores the gap in the equal-specificity rule after this one. */
|
|
302
|
+
/* Both halves of the pair exclude [data-flush]: flush content zeroes its padding by its own
|
|
303
|
+
* contract, and the description half would otherwise OVERRIDE that zero and float a flush
|
|
304
|
+
* table 18px off its header (measured on a consumer 関連ファイル section, gh#307). */
|
|
302
305
|
[data-slot="card"]:has([data-slot="card-header"] [data-slot="card-action"])
|
|
303
|
-
[data-slot="card-content"]:not([data-tight]) {
|
|
306
|
+
[data-slot="card-content"]:not([data-tight]):not([data-flush]) {
|
|
304
307
|
padding-top: 0;
|
|
305
308
|
}
|
|
306
309
|
|
|
307
310
|
[data-slot="card"]:has([data-slot="card-header"] [data-slot="card-description"])
|
|
308
|
-
[data-slot="card-content"]:not([data-tight]) {
|
|
311
|
+
[data-slot="card-content"]:not([data-tight]):not([data-flush]) {
|
|
309
312
|
padding-top: var(--card-space-body-y);
|
|
310
313
|
}
|
|
311
314
|
|