@loidolt/theme-styles 0.11.0 → 0.11.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loidolt/theme-styles",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Base styles, fonts, accessibility helpers, and utilities for Loidolt applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build": "node -e \"console.log('theme-styles: source CSS is publish-ready')\""
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@loidolt/theme-tokens": "^0.11.
|
|
34
|
+
"@loidolt/theme-tokens": "^0.11.1"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public",
|
package/src/components/data.css
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The wrapper is a scroll region, so it is also the containing block of what it scrolls:
|
|
3
|
+
* visually hidden text (the caption, the live region in every Button) is absolutely positioned,
|
|
4
|
+
* and against an ancestor outside the wrapper it would escape the clipping and stretch the page
|
|
5
|
+
* to where the last row would have been.
|
|
6
|
+
*/
|
|
1
7
|
.ldt-table-wrap {
|
|
8
|
+
position: relative;
|
|
2
9
|
width: 100%;
|
|
3
10
|
overflow-x: auto;
|
|
4
11
|
border: var(--loidolt-border-width) solid var(--loidolt-border);
|
|
@@ -214,7 +214,10 @@
|
|
|
214
214
|
grid-column: 1 / -1;
|
|
215
215
|
min-width: 0;
|
|
216
216
|
}
|
|
217
|
+
/* Positioned so absolutely positioned content (visually hidden text) scrolls and clips with the
|
|
218
|
+
pane instead of stretching the page; see `.ldt-table-wrap`. */
|
|
217
219
|
.ldt-sidebar {
|
|
220
|
+
position: relative;
|
|
218
221
|
min-width: 0;
|
|
219
222
|
overflow-y: auto;
|
|
220
223
|
padding: var(--loidolt-pad-pane);
|
|
@@ -523,6 +523,8 @@
|
|
|
523
523
|
border-bottom: var(--loidolt-border-width) solid var(--loidolt-border);
|
|
524
524
|
}
|
|
525
525
|
.ldt-tabs--rail[data-orientation='vertical'] .ldt-tabs__panels {
|
|
526
|
+
/* The containing block of what it scrolls; see `.ldt-table-wrap`. */
|
|
527
|
+
position: relative;
|
|
526
528
|
overflow-y: auto;
|
|
527
529
|
overscroll-behavior: contain;
|
|
528
530
|
scrollbar-width: thin;
|