@godxjp/ui 18.15.0 → 18.15.1
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.
- package/dist/styles/table-layout.css +12 -5
- package/package.json +2 -2
|
@@ -196,11 +196,18 @@
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
/* Out of flow, in the inline-end reservation its own padding just made.
|
|
199
|
-
* Logical inset, so RTL puts it on the other side with the padding.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
199
|
+
* Logical inset, so RTL puts it on the other side with the padding.
|
|
200
|
+
*
|
|
201
|
+
* `:last-child` and NOT `:not(:first-child)`. A string header renders as a
|
|
202
|
+
* text node, and `:first-child` counts only ELEMENTS — so with
|
|
203
|
+
* `[text, svg]` the chevron IS the first element child and the negation
|
|
204
|
+
* matched nothing at all. The label kept its symmetric padding, which
|
|
205
|
+
* centres the BOX, while the words inside it stayed 8px off exactly as
|
|
206
|
+
* before. Measured against the built stylesheet, not read: the rule was
|
|
207
|
+
* present in the CSS and inert in the DOM, which is why reading it proved
|
|
208
|
+
* nothing. `:last-child` holds for both shapes the label takes,
|
|
209
|
+
* `[text, svg]` and `[element, svg]`. */
|
|
210
|
+
:is(th, td).text-center > .ui-data-table-sort-button > .ui-data-table-sort-label > :last-child {
|
|
204
211
|
position: absolute;
|
|
205
212
|
inset-inline-end: 0;
|
|
206
213
|
top: 50%;
|