@n1kname/components 0.63.0 → 0.64.0
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
package/src/AtAGlance.astro
CHANGED
|
@@ -84,13 +84,15 @@ const Heading = `h${level}` as 'h2' | 'h3';
|
|
|
84
84
|
border-radius: var(--radius-lg);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
/* A real heading, a step above the part labels, in the accent text colour like the figures and
|
|
88
|
+
* bullets under it. It was a small label in a heading's place, smaller than the parts. */
|
|
87
89
|
.glance-title {
|
|
88
|
-
margin: 0 0 var(--sp-
|
|
89
|
-
font-family: var(--font-
|
|
90
|
-
font-size: var(--text-
|
|
90
|
+
margin: 0 0 var(--sp-5);
|
|
91
|
+
font-family: var(--font-display);
|
|
92
|
+
font-size: var(--text-h3);
|
|
91
93
|
font-weight: 600;
|
|
92
|
-
line-height: var(--leading-
|
|
93
|
-
letter-spacing: var(--tracking-
|
|
94
|
+
line-height: var(--leading-h3);
|
|
95
|
+
letter-spacing: var(--tracking-h3);
|
|
94
96
|
color: var(--c-text-accent);
|
|
95
97
|
}
|
|
96
98
|
|
|
@@ -152,7 +152,10 @@ const lineAbove = (stage: Stage, laneIndex: number) => {
|
|
|
152
152
|
overflow: hidden;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
/* Positioned, so the screen-reader labels (absolute) inside it stay inside it: without this they
|
|
156
|
+
* anchored to the page and widened it by the grid's full width. */
|
|
155
157
|
.scroller {
|
|
158
|
+
position: relative;
|
|
156
159
|
overflow-x: auto;
|
|
157
160
|
overscroll-behavior-x: contain;
|
|
158
161
|
padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
|