@primer/brand-css 0.58.2-rc.d01fd9a7 → 0.58.3-rc.701dcf4a

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.
@@ -75,6 +75,24 @@
75
75
 
76
76
  .Statistic__heading {
77
77
  font-stretch: 75%;
78
+ position: relative;
79
+ }
80
+
81
+ .Statistic__heading sup {
82
+ font-size: var(--brand-text-size-100);
83
+ line-height: 0;
84
+ font-weight: var(--brand-text-weight-100);
85
+ font-stretch: normal;
86
+ vertical-align: top;
87
+ top: var(--base-size-6); /* Optical align to heading top */
88
+ position: relative;
89
+ }
90
+
91
+ .Statistic__heading sup a {
92
+ /* Targets footnote links. Specificity not ideal, but these are passed through by the user */
93
+ padding: var(--base-size-4);
94
+ display: inline-block;
95
+ line-height: 1;
78
96
  }
79
97
 
80
98
  /*
@@ -85,7 +103,23 @@
85
103
  }
86
104
 
87
105
  .Statistic__description {
106
+ position: relative;
88
107
  display: block;
89
108
  margin-block-start: var(--base-size-8);
90
109
  font-stretch: normal;
91
110
  }
111
+
112
+ .Statistic__description sup {
113
+ font-size: var(--brand-text-size-100);
114
+ vertical-align: top;
115
+ top: 0;
116
+ position: relative;
117
+ line-height: 0;
118
+ }
119
+
120
+ .Statistic__description sup a {
121
+ /* Targets footnote links. Specificity not ideal, but these are passed through by the user */
122
+ padding: var(--base-size-4);
123
+ display: inline-block;
124
+ line-height: 1;
125
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.58.2-rc.d01fd9a7",
3
+ "version": "0.58.3-rc.701dcf4a",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",