@carbon/styles 1.37.0 → 1.38.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.
Files changed (86) hide show
  1. package/css/styles.css +2588 -2403
  2. package/css/styles.min.css +1 -1
  3. package/package.json +5 -5
  4. package/scss/components/accordion/_accordion.scss +47 -35
  5. package/scss/components/aspect-ratio/_aspect-ratio.scss +7 -4
  6. package/scss/components/breadcrumb/_breadcrumb.scss +26 -20
  7. package/scss/components/button/_button.scss +16 -11
  8. package/scss/components/button/_mixins.scss +12 -12
  9. package/scss/components/checkbox/_checkbox.scss +55 -40
  10. package/scss/components/code-snippet/_code-snippet.scss +74 -59
  11. package/scss/components/code-snippet/_mixins.scss +2 -2
  12. package/scss/components/combo-box/_combo-box.scss +2 -2
  13. package/scss/components/combo-button/_combo-button.scss +2 -2
  14. package/scss/components/contained-list/_contained-list.scss +41 -22
  15. package/scss/components/content-switcher/_content-switcher.scss +32 -32
  16. package/scss/components/data-table/_data-table.scss +150 -144
  17. package/scss/components/data-table/_mixins.scss +3 -3
  18. package/scss/components/data-table/action/_data-table-action.scss +83 -81
  19. package/scss/components/data-table/expandable/_data-table-expandable.scss +60 -60
  20. package/scss/components/data-table/skeleton/_data-table-skeleton.scss +10 -8
  21. package/scss/components/data-table/sort/_data-table-sort.scss +38 -38
  22. package/scss/components/date-picker/_date-picker.scss +21 -20
  23. package/scss/components/date-picker/_flatpickr.scss +51 -51
  24. package/scss/components/dropdown/_dropdown.scss +49 -49
  25. package/scss/components/file-uploader/_file-uploader.scss +37 -37
  26. package/scss/components/fluid-combo-box/_fluid-combo-box.scss +4 -4
  27. package/scss/components/fluid-date-picker/_fluid-date-picker.scss +54 -54
  28. package/scss/components/fluid-list-box/_fluid-list-box.scss +33 -33
  29. package/scss/components/fluid-multiselect/_fluid-multiselect.scss +2 -2
  30. package/scss/components/fluid-number-input/_fluid-number-input.scss +30 -30
  31. package/scss/components/fluid-search/_fluid-search.scss +17 -17
  32. package/scss/components/fluid-select/_fluid-select.scss +17 -17
  33. package/scss/components/fluid-text-area/_fluid-text-area.scss +21 -21
  34. package/scss/components/fluid-text-input/_fluid-text-input.scss +26 -26
  35. package/scss/components/fluid-time-picker/_fluid-time-picker.scss +23 -23
  36. package/scss/components/form/_form.scss +16 -15
  37. package/scss/components/inline-loading/_inline-loading.scss +9 -9
  38. package/scss/components/link/_link.scss +1 -1
  39. package/scss/components/list/_list.scss +7 -7
  40. package/scss/components/list-box/_list-box.scss +109 -107
  41. package/scss/components/loading/_loading.scss +10 -9
  42. package/scss/components/menu/_menu.scss +7 -7
  43. package/scss/components/menu-button/_menu-button.scss +1 -1
  44. package/scss/components/modal/_modal.scss +72 -72
  45. package/scss/components/multiselect/_multiselect.scss +11 -11
  46. package/scss/components/notification/_actionable-notification.scss +37 -39
  47. package/scss/components/notification/_inline-notification.scss +26 -26
  48. package/scss/components/notification/_mixins.scss +3 -3
  49. package/scss/components/notification/_toast-notification.scss +16 -18
  50. package/scss/components/number-input/_number-input.scss +70 -70
  51. package/scss/components/overflow-menu/_overflow-menu.scss +50 -50
  52. package/scss/components/pagination/_pagination.scss +46 -34
  53. package/scss/components/pagination/_unstable_pagination.scss +26 -24
  54. package/scss/components/pagination-nav/_mixins.scss +6 -6
  55. package/scss/components/pagination-nav/_pagination-nav.scss +16 -11
  56. package/scss/components/popover/_popover.scss +201 -63
  57. package/scss/components/progress-bar/_progress-bar.scss +33 -11
  58. package/scss/components/progress-indicator/_progress-indicator.scss +46 -42
  59. package/scss/components/radio-button/_radio-button.scss +24 -23
  60. package/scss/components/search/_search.scss +35 -34
  61. package/scss/components/select/_select.scss +31 -29
  62. package/scss/components/skeleton-styles/_skeleton-styles.scss +10 -8
  63. package/scss/components/slider/_slider.scss +28 -28
  64. package/scss/components/structured-list/_mixins.scss +4 -4
  65. package/scss/components/structured-list/_structured-list.scss +16 -16
  66. package/scss/components/tabs/_tabs.scss +50 -50
  67. package/scss/components/tag/_tag.scss +22 -20
  68. package/scss/components/text-area/_text-area.scss +17 -15
  69. package/scss/components/text-input/_text-input.scss +43 -41
  70. package/scss/components/tile/_tile.scss +11 -11
  71. package/scss/components/time-picker/_time-picker.scss +17 -17
  72. package/scss/components/toggle/_toggle.scss +37 -24
  73. package/scss/components/toggletip/_toggletip.scss +3 -2
  74. package/scss/components/tooltip/_tooltip.scss +7 -5
  75. package/scss/components/treeview/_treeview.scss +27 -27
  76. package/scss/components/ui-shell/content/_content.scss +3 -3
  77. package/scss/components/ui-shell/header/_header.scss +47 -47
  78. package/scss/components/ui-shell/header-panel/_header-panel.scss +7 -7
  79. package/scss/components/ui-shell/side-nav/_side-nav.scss +65 -65
  80. package/scss/components/ui-shell/switcher/_switcher.scss +6 -6
  81. package/scss/utilities/_button-reset.scss +1 -1
  82. package/scss/utilities/_skeleton.scss +4 -4
  83. package/scss/utilities/_text-overflow.scss +1 -1
  84. package/scss/utilities/_text-truncate.scss +2 -2
  85. package/scss/utilities/_tooltip.scss +44 -46
  86. package/scss/utilities/_visually-hidden.scss +4 -4
@@ -27,16 +27,16 @@
27
27
 
28
28
  position: relative;
29
29
  display: flex;
30
- width: 100%;
31
30
  flex-direction: column;
32
31
  align-items: flex-start;
32
+ inline-size: 100%;
33
33
  }
34
34
 
35
35
  .#{$prefix}--select-input__wrapper {
36
36
  position: relative;
37
37
  display: flex;
38
- width: 100%;
39
38
  align-items: center;
39
+ inline-size: 100%;
40
40
  }
41
41
 
42
42
  .#{$prefix}--select-input {
@@ -44,19 +44,20 @@
44
44
  @include focus-outline('reset');
45
45
 
46
46
  display: block;
47
- width: 100%;
48
- height: convert.to-rem(40px);
49
- padding: 0 $spacing-09 0 $spacing-05;
50
47
  border: none;
51
- border-bottom: 1px solid $border-strong;
52
48
  appearance: none;
53
49
  background-color: $field;
50
+ block-size: convert.to-rem(40px);
51
+ border-block-end: 1px solid $border-strong;
54
52
  border-radius: 0;
55
53
  color: $text-primary;
56
54
  cursor: pointer;
57
55
  font-family: inherit;
56
+ inline-size: 100%;
58
57
  // reset disabled <select> opacity
59
58
  opacity: 1;
59
+ padding-block: 0;
60
+ padding-inline: $spacing-05 $spacing-09;
60
61
  text-overflow: ellipsis;
61
62
 
62
63
  // Do not transition on background-color (see: https://github.com/carbon-design-system/carbon/issues/4464)
@@ -90,21 +91,21 @@
90
91
 
91
92
  &:disabled,
92
93
  &:hover:disabled {
93
- border-bottom-color: transparent;
94
94
  background-color: $field;
95
+ border-block-end-color: transparent;
95
96
  color: $text-disabled;
96
97
  cursor: not-allowed;
97
98
  }
98
99
  }
99
100
 
100
101
  .#{$prefix}--select-input--sm {
101
- height: convert.to-rem(32px);
102
- max-height: convert.to-rem(32px);
102
+ block-size: convert.to-rem(32px);
103
+ max-block-size: convert.to-rem(32px);
103
104
  }
104
105
 
105
106
  .#{$prefix}--select-input--lg {
106
- height: convert.to-rem(48px);
107
- max-height: convert.to-rem(48px);
107
+ block-size: convert.to-rem(48px);
108
+ max-block-size: convert.to-rem(48px);
108
109
  }
109
110
 
110
111
  .#{$prefix}--select--disabled .#{$prefix}--label,
@@ -114,7 +115,7 @@
114
115
 
115
116
  .#{$prefix}--select-input__wrapper[data-invalid] .#{$prefix}--select-input,
116
117
  .#{$prefix}--select--warning .#{$prefix}--select-input {
117
- padding-right: $spacing-10;
118
+ padding-inline-end: $spacing-10;
118
119
  }
119
120
 
120
121
  .#{$prefix}--select-input:disabled ~ .#{$prefix}--select__arrow {
@@ -138,10 +139,10 @@
138
139
 
139
140
  .#{$prefix}--select__arrow {
140
141
  position: absolute;
141
- top: 0;
142
- right: $spacing-05;
143
- height: 100%;
142
+ block-size: 100%;
144
143
  fill: $icon-primary;
144
+ inset-block-start: 0;
145
+ inset-inline-end: $spacing-05;
145
146
  pointer-events: none;
146
147
 
147
148
  // Windows, Firefox HCM Fix
@@ -156,7 +157,7 @@
156
157
 
157
158
  .#{$prefix}--select__invalid-icon {
158
159
  position: absolute;
159
- right: $spacing-08;
160
+ inset-inline-end: $spacing-08;
160
161
  }
161
162
 
162
163
  .#{$prefix}--select-input__wrapper[data-invalid]
@@ -196,12 +197,12 @@
196
197
  .#{$prefix}--form__helper-text {
197
198
  align-self: flex-start;
198
199
  // Offset label text margin
199
- margin-top: convert.to-rem(13px);
200
+ margin-block-start: convert.to-rem(13px);
200
201
  }
201
202
 
202
203
  .#{$prefix}--select--inline .#{$prefix}--form__helper-text {
203
- margin-bottom: 0;
204
- margin-left: $spacing-03;
204
+ margin-block-end: 0;
205
+ margin-inline-start: $spacing-03;
205
206
  }
206
207
 
207
208
  .#{$prefix}--select--inline .#{$prefix}--label {
@@ -210,12 +211,12 @@
210
211
  }
211
212
 
212
213
  .#{$prefix}--select--inline .#{$prefix}--select-input {
213
- width: auto;
214
- padding-right: $spacing-07;
215
- padding-left: $spacing-03;
216
- border-bottom: none;
217
214
  background-color: transparent;
215
+ border-block-end: none;
218
216
  color: $text-primary;
217
+ inline-size: auto;
218
+ padding-inline-end: $spacing-07;
219
+ padding-inline-start: $spacing-03;
219
220
  }
220
221
 
221
222
  .#{$prefix}--select--inline .#{$prefix}--select-input:focus,
@@ -230,18 +231,18 @@
230
231
  }
231
232
 
232
233
  .#{$prefix}--select--inline .#{$prefix}--select__arrow {
233
- right: $spacing-03;
234
+ inset-inline-end: $spacing-03;
234
235
  }
235
236
 
236
237
  .#{$prefix}--select--inline.#{$prefix}--select--invalid
237
238
  .#{$prefix}--select-input {
238
- padding-right: convert.to-rem(56px);
239
+ padding-inline-end: convert.to-rem(56px);
239
240
  }
240
241
 
241
242
  .#{$prefix}--select--inline.#{$prefix}--select--invalid
242
243
  .#{$prefix}--select-input
243
244
  ~ .#{$prefix}--select__invalid-icon {
244
- right: $spacing-07;
245
+ inset-inline-end: $spacing-07;
245
246
  }
246
247
 
247
248
  .#{$prefix}--select--inline .#{$prefix}--select-input:disabled {
@@ -255,8 +256,8 @@
255
256
 
256
257
  // readonly
257
258
  .#{$prefix}--select--readonly .#{$prefix}--select-input {
258
- border-bottom-color: $border-subtle;
259
259
  background-color: transparent;
260
+ border-block-end-color: $border-subtle;
260
261
  cursor: default;
261
262
  }
262
263
 
@@ -268,8 +269,9 @@
268
269
  .#{$prefix}--select.#{$prefix}--skeleton {
269
270
  @include skeleton;
270
271
 
271
- width: 100%;
272
- height: 2.5rem;
272
+ block-size: 2.5rem;
273
+
274
+ inline-size: 100%;
273
275
  }
274
276
 
275
277
  .#{$prefix}--select.#{$prefix}--skeleton .#{$prefix}--select-input {
@@ -19,29 +19,31 @@
19
19
  @include skeleton;
20
20
 
21
21
  display: inline-block;
22
- width: convert.to-rem(16px);
23
- height: convert.to-rem(16px);
22
+ block-size: convert.to-rem(16px);
23
+ inline-size: convert.to-rem(16px);
24
24
  }
25
25
 
26
26
  //skeleton placeholder
27
27
  .#{$prefix}--skeleton__placeholder {
28
28
  @include skeleton;
29
29
 
30
- width: convert.to-rem(100px);
30
+ block-size: convert.to-rem(100px);
31
31
 
32
- height: convert.to-rem(100px);
32
+ inline-size: convert.to-rem(100px);
33
33
  }
34
34
 
35
35
  //skeleton text
36
36
  .#{$prefix}--skeleton__text {
37
37
  @include skeleton;
38
38
 
39
- width: 100%;
40
- height: 1rem;
41
- margin-bottom: $spacing-03;
39
+ block-size: 1rem;
40
+
41
+ inline-size: 100%;
42
+
43
+ margin-block-end: $spacing-03;
42
44
  }
43
45
 
44
46
  .#{$prefix}--skeleton__heading {
45
- height: 1.5rem;
47
+ block-size: 1.5rem;
46
48
  }
47
49
  }
@@ -35,12 +35,12 @@
35
35
 
36
36
  .#{$prefix}--slider {
37
37
  position: relative;
38
- width: 100%;
39
- min-width: convert.to-rem(200px);
40
- max-width: convert.to-rem(640px);
41
38
  padding: $spacing-05 0;
42
39
  margin: 0 $spacing-05;
43
40
  cursor: pointer;
41
+ inline-size: 100%;
42
+ max-inline-size: convert.to-rem(640px);
43
+ min-inline-size: convert.to-rem(200px);
44
44
  }
45
45
 
46
46
  .#{$prefix}--slider__range-label {
@@ -50,35 +50,35 @@
50
50
  white-space: nowrap;
51
51
 
52
52
  &:last-of-type {
53
- margin-right: $spacing-05;
53
+ margin-inline-end: $spacing-05;
54
54
  }
55
55
  }
56
56
 
57
57
  .#{$prefix}--slider__track {
58
58
  position: absolute;
59
- width: 100%;
60
- height: convert.to-rem(2px);
61
59
  background: $border-subtle;
60
+ block-size: convert.to-rem(2px);
61
+ inline-size: 100%;
62
62
  transform: translate(0%, -50%);
63
63
  }
64
64
 
65
65
  .#{$prefix}--slider__track:before {
66
66
  position: absolute;
67
- top: convert.to-rem(-5px);
68
- left: 50%;
69
67
  display: inline-block;
70
- width: convert.to-rem(2px);
71
- height: convert.to-rem(4px);
72
68
  background: $border-subtle;
69
+ block-size: convert.to-rem(4px);
73
70
  content: '';
71
+ inline-size: convert.to-rem(2px);
72
+ inset-block-start: convert.to-rem(-5px);
73
+ inset-inline-start: 50%;
74
74
  transform: translate(-50%, 0);
75
75
  }
76
76
 
77
77
  .#{$prefix}--slider__filled-track {
78
78
  position: absolute;
79
- width: 100%;
80
- height: convert.to-rem(2px);
81
79
  background: $layer-selected-inverse;
80
+ block-size: convert.to-rem(2px);
81
+ inline-size: 100%;
82
82
  pointer-events: none;
83
83
  transform: translate(0%, -50%);
84
84
  transform-origin: left;
@@ -88,11 +88,11 @@
88
88
  .#{$prefix}--slider__thumb {
89
89
  position: absolute;
90
90
  z-index: 3;
91
- width: convert.to-rem(14px);
92
- height: convert.to-rem(14px);
93
91
  background: $layer-selected-inverse;
92
+ block-size: convert.to-rem(14px);
94
93
  border-radius: 50%;
95
94
  box-shadow: inset 0 0 0 1px transparent, inset 0 0 0 2px transparent;
95
+ inline-size: convert.to-rem(14px);
96
96
  outline: none;
97
97
  transform: translate(-50%, -50%);
98
98
  transition: transform $duration-fast-02 motion(standard, productive),
@@ -123,10 +123,10 @@
123
123
 
124
124
  .#{$prefix}--slider-text-input,
125
125
  .#{$prefix}-slider-text-input {
126
- width: convert.to-rem(64px);
127
- height: convert.to-rem(40px);
128
126
  -moz-appearance: textfield;
129
127
  appearance: textfield;
128
+ block-size: convert.to-rem(40px);
129
+ inline-size: convert.to-rem(64px);
130
130
 
131
131
  &::-webkit-outer-spin-button,
132
132
  &::-webkit-inner-spin-button {
@@ -145,24 +145,24 @@
145
145
  // Invalid & warn state
146
146
  .#{$prefix}--slider-text-input.#{$prefix}--text-input--invalid,
147
147
  .#{$prefix}--slider-text-input--warn {
148
- width: 6rem;
149
- padding-right: $spacing-09;
148
+ inline-size: 6rem;
149
+ padding-inline-end: $spacing-09;
150
150
  }
151
151
 
152
152
  .#{$prefix}--slider__invalid-icon {
153
153
  position: absolute;
154
- // top/transform used to center invalid icon in IE11
155
- top: 50%;
156
- right: $spacing-05;
157
154
  fill: $support-error;
155
+ // top/transform used to center invalid icon in IE11
156
+ inset-block-start: 50%;
157
+ inset-inline-end: $spacing-05;
158
158
  transform: translateY(-50%);
159
159
  }
160
160
 
161
161
  .#{$prefix}--slider__validation-msg.#{$prefix}--form-requirement {
162
162
  display: block;
163
163
  overflow: visible;
164
- max-height: 100%;
165
- margin-top: 0;
164
+ margin-block-start: 0;
165
+ max-block-size: 100%;
166
166
  }
167
167
 
168
168
  .#{$prefix}--slider__validation-msg--invalid {
@@ -242,8 +242,8 @@
242
242
  }
243
243
 
244
244
  .#{$prefix}--slider--readonly .#{$prefix}--slider__thumb {
245
- width: 0;
246
- height: 0;
245
+ block-size: 0;
246
+ inline-size: 0;
247
247
  }
248
248
 
249
249
  .#{$prefix}--slider--readonly ~ .#{$prefix}--slider-text-input {
@@ -255,8 +255,8 @@
255
255
  .#{$prefix}--slider__range-label {
256
256
  @include skeleton;
257
257
 
258
- width: convert.to-rem(20px);
259
- height: convert.to-rem(12px);
258
+ block-size: convert.to-rem(12px);
259
+ inline-size: convert.to-rem(20px);
260
260
  }
261
261
 
262
262
  .#{$prefix}--slider-container.#{$prefix}--skeleton
@@ -267,8 +267,8 @@
267
267
 
268
268
  .#{$prefix}--slider-container.#{$prefix}--skeleton
269
269
  .#{$prefix}--slider__thumb {
270
- left: 50%;
271
270
  cursor: default;
271
+ inset-inline-start: 50%;
272
272
  pointer-events: none;
273
273
  }
274
274
 
@@ -32,13 +32,13 @@ $structured-list-text-transform: none !default;
32
32
  /// @group structured-list
33
33
  /// @param {Number} $padding [$structured-list-padding]
34
34
  @mixin padding--data-structured-list($padding: $structured-list-padding) {
35
- padding-right: $padding * 0.5;
36
- padding-left: $padding * 0.5;
35
+ padding-inline-end: $padding * 0.5;
36
+ padding-inline-start: $padding * 0.5;
37
37
 
38
38
  // Controls gutter sizes for check
39
39
  &:first-child {
40
- padding-right: $padding * 0.5;
41
- padding-left: $padding * 0.5;
40
+ padding-inline-end: $padding * 0.5;
41
+ padding-inline-start: $padding * 0.5;
42
42
  }
43
43
  }
44
44
 
@@ -31,11 +31,11 @@
31
31
  @include component-reset.reset;
32
32
 
33
33
  display: table;
34
- width: 100%;
35
34
 
36
35
  background-color: transparent;
37
36
  border-collapse: collapse;
38
37
  border-spacing: 0;
38
+ inline-size: 100%;
39
39
  overflow-x: auto;
40
40
 
41
41
  // Condensed list
@@ -49,7 +49,7 @@
49
49
  .#{$prefix}--structured-list-td:first-of-type,
50
50
  .#{$prefix}--structured-list-row
51
51
  .#{$prefix}--structured-list-th:first-of-type {
52
- padding-left: 1rem;
52
+ padding-inline-start: 1rem;
53
53
  // specs require 16px spacing between columns
54
54
  // 8px side padding between col creates 16 px, with exception of 1st col, which needs an override to be 16px
55
55
  }
@@ -67,21 +67,21 @@
67
67
  &.#{$prefix}--structured-list--flush
68
68
  .#{$prefix}--structured-list-row
69
69
  .#{$prefix}--structured-list-th:first-of-type {
70
- padding-right: 1rem;
71
- padding-left: 0;
70
+ padding-inline-end: 1rem;
71
+ padding-inline-start: 0;
72
72
  }
73
73
  }
74
74
 
75
75
  .#{$prefix}--structured-list-row {
76
76
  display: table-row;
77
- border-top: 1px solid $border-subtle;
77
+ border-block-start: 1px solid $border-subtle;
78
78
  transition: background-color motion.$duration-fast-02
79
79
  motion.motion(standard, productive);
80
80
  }
81
81
 
82
82
  .#{$prefix}--structured-list-tbody
83
83
  .#{$prefix}--structured-list-row:last-child {
84
- border-bottom: 1px solid $border-subtle;
84
+ border-block-end: 1px solid $border-subtle;
85
85
  }
86
86
 
87
87
  .#{$prefix}--structured-list-row--header-row {
@@ -149,10 +149,10 @@
149
149
  @include type-style('heading-compact-01');
150
150
 
151
151
  display: table-cell;
152
- height: convert.to-rem(40px);
152
+ block-size: convert.to-rem(40px);
153
153
  color: $text-primary;
154
154
  font-weight: 600;
155
- text-align: left;
155
+ text-align: start;
156
156
  text-transform: $structured-list-text-transform;
157
157
  vertical-align: top;
158
158
  }
@@ -169,8 +169,8 @@
169
169
 
170
170
  position: relative;
171
171
  display: table-cell;
172
- max-width: 36rem;
173
172
  color: $text-secondary;
173
+ max-inline-size: 36rem;
174
174
 
175
175
  transition: color motion.$duration-fast-02
176
176
  motion.motion(standard, productive);
@@ -181,7 +181,7 @@
181
181
  }
182
182
 
183
183
  .#{$prefix}--structured-list-input + .#{$prefix}--structured-list-td {
184
- text-align: right;
184
+ text-align: end;
185
185
  }
186
186
 
187
187
  .#{$prefix}--structured-list-svg {
@@ -204,15 +204,15 @@
204
204
  .#{$prefix}--structured-list.#{$prefix}--skeleton {
205
205
  .#{$prefix}--structured-list-th {
206
206
  &:first-child {
207
- width: 8%;
207
+ inline-size: 8%;
208
208
  }
209
209
 
210
210
  &:nth-child(3n + 2) {
211
- width: 30%;
211
+ inline-size: 30%;
212
212
  }
213
213
 
214
214
  &:nth-child(3n + 3) {
215
- width: 15%;
215
+ inline-size: 15%;
216
216
  }
217
217
  }
218
218
 
@@ -220,15 +220,15 @@
220
220
  @include skeleton;
221
221
 
222
222
  display: block;
223
+ block-size: 1rem;
223
224
 
224
- width: 75%;
225
- height: 1rem;
225
+ inline-size: 75%;
226
226
  }
227
227
  }
228
228
 
229
229
  .#{$prefix}--structured-list.#{$prefix}--structured-list--selection.#{$prefix}--skeleton
230
230
  .#{$prefix}--structured-list-th:first-child {
231
- width: 5%;
231
+ inline-size: 5%;
232
232
 
233
233
  span {
234
234
  display: none;