@iress-oss/ids-mcp-server 6.0.0-alpha.0 → 6.0.0-alpha.1-canary-20251204014525-3f0dce4
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/searchHandlers.test.js +8 -2
- package/dist/toolHandler.test.js +9 -9
- package/dist/utils.test.js +6 -2
- package/package.json +32 -30
- package/generated/docs/components-alert-docs.md +0 -702
- package/generated/docs/components-autocomplete-docs.md +0 -1433
- package/generated/docs/components-autocomplete-recipes-docs.md +0 -104
- package/generated/docs/components-badge-docs.md +0 -531
- package/generated/docs/components-button-docs.md +0 -1442
- package/generated/docs/components-buttongroup-docs.md +0 -748
- package/generated/docs/components-card-docs.md +0 -944
- package/generated/docs/components-checkbox-docs.md +0 -694
- package/generated/docs/components-checkboxgroup-docs.md +0 -1087
- package/generated/docs/components-checkboxgroup-recipes-docs.md +0 -119
- package/generated/docs/components-col-docs.md +0 -881
- package/generated/docs/components-container-docs.md +0 -123
- package/generated/docs/components-divider-docs.md +0 -576
- package/generated/docs/components-expander-docs.md +0 -594
- package/generated/docs/components-field-docs.md +0 -2007
- package/generated/docs/components-filter-docs.md +0 -1322
- package/generated/docs/components-hide-docs.md +0 -702
- package/generated/docs/components-icon-docs.md +0 -816
- package/generated/docs/components-image-docs.md +0 -493
- package/generated/docs/components-inline-docs.md +0 -2003
- package/generated/docs/components-input-docs.md +0 -867
- package/generated/docs/components-input-recipes-docs.md +0 -140
- package/generated/docs/components-inputcurrency-docs.md +0 -689
- package/generated/docs/components-inputcurrency-recipes-docs.md +0 -115
- package/generated/docs/components-introduction-docs.md +0 -450
- package/generated/docs/components-label-docs.md +0 -562
- package/generated/docs/components-link-docs.md +0 -586
- package/generated/docs/components-menu-docs.md +0 -1146
- package/generated/docs/components-menu-menuitem-docs.md +0 -739
- package/generated/docs/components-modal-docs.md +0 -1346
- package/generated/docs/components-panel-docs.md +0 -600
- package/generated/docs/components-placeholder-docs.md +0 -446
- package/generated/docs/components-popover-docs.md +0 -1529
- package/generated/docs/components-popover-recipes-docs.md +0 -211
- package/generated/docs/components-progress-docs.md +0 -568
- package/generated/docs/components-provider-docs.md +0 -160
- package/generated/docs/components-radio-docs.md +0 -563
- package/generated/docs/components-radiogroup-docs.md +0 -1153
- package/generated/docs/components-readonly-docs.md +0 -535
- package/generated/docs/components-richselect-docs.md +0 -5836
- package/generated/docs/components-row-docs.md +0 -2354
- package/generated/docs/components-select-docs.md +0 -940
- package/generated/docs/components-skeleton-docs.md +0 -597
- package/generated/docs/components-skeleton-recipes-docs.md +0 -76
- package/generated/docs/components-skiplink-docs.md +0 -587
- package/generated/docs/components-slideout-docs.md +0 -1036
- package/generated/docs/components-slider-docs.md +0 -828
- package/generated/docs/components-spinner-docs.md +0 -450
- package/generated/docs/components-stack-docs.md +0 -923
- package/generated/docs/components-table-ag-grid-docs.md +0 -1444
- package/generated/docs/components-table-docs.md +0 -2327
- package/generated/docs/components-tabset-docs.md +0 -768
- package/generated/docs/components-tabset-tab-docs.md +0 -550
- package/generated/docs/components-tag-docs.md +0 -548
- package/generated/docs/components-text-docs.md +0 -585
- package/generated/docs/components-toaster-docs.md +0 -755
- package/generated/docs/components-toggle-docs.md +0 -614
- package/generated/docs/components-tooltip-docs.md +0 -747
- package/generated/docs/components-validationmessage-docs.md +0 -1161
- package/generated/docs/contact-us-docs.md +0 -27
- package/generated/docs/extensions-editor-docs.md +0 -1181
- package/generated/docs/extensions-editor-recipes-docs.md +0 -89
- package/generated/docs/foundations-accessibility-docs.md +0 -40
- package/generated/docs/foundations-consistency-docs.md +0 -52
- package/generated/docs/foundations-content-docs.md +0 -23
- package/generated/docs/foundations-grid-docs.md +0 -74
- package/generated/docs/foundations-introduction-docs.md +0 -19
- package/generated/docs/foundations-principles-docs.md +0 -70
- package/generated/docs/foundations-responsive-breakpoints-docs.md +0 -193
- package/generated/docs/foundations-tokens-colour-docs.md +0 -564
- package/generated/docs/foundations-tokens-elevation-docs.md +0 -155
- package/generated/docs/foundations-tokens-introduction-docs.md +0 -190
- package/generated/docs/foundations-tokens-radius-docs.md +0 -71
- package/generated/docs/foundations-tokens-spacing-docs.md +0 -89
- package/generated/docs/foundations-tokens-typography-docs.md +0 -322
- package/generated/docs/foundations-user-experience-docs.md +0 -63
- package/generated/docs/foundations-visual-design-docs.md +0 -46
- package/generated/docs/foundations-z-index-stacking-docs.md +0 -31
- package/generated/docs/frequently-asked-questions-docs.md +0 -53
- package/generated/docs/get-started-develop-docs.md +0 -209
- package/generated/docs/get-started-using-storybook-docs.md +0 -68
- package/generated/docs/guidelines.md +0 -2054
- package/generated/docs/introduction-docs.md +0 -87
- package/generated/docs/news-version-6-docs.md +0 -93
- package/generated/docs/patterns-form-docs.md +0 -3902
- package/generated/docs/patterns-form-recipes-docs.md +0 -1370
- package/generated/docs/patterns-introduction-docs.md +0 -24
- package/generated/docs/patterns-loading-docs.md +0 -4043
- package/generated/docs/resources-code-katas-docs.md +0 -29
- package/generated/docs/resources-introduction-docs.md +0 -38
- package/generated/docs/resources-mcp-server-docs.md +0 -27
- package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +0 -437
- package/generated/docs/styling-props-colour-docs.md +0 -172
- package/generated/docs/styling-props-elevation-docs.md +0 -88
- package/generated/docs/styling-props-radius-docs.md +0 -86
- package/generated/docs/styling-props-reference-docs.md +0 -160
- package/generated/docs/styling-props-screen-readers-docs.md +0 -71
- package/generated/docs/styling-props-sizing-docs.md +0 -627
- package/generated/docs/styling-props-spacing-docs.md +0 -2282
- package/generated/docs/styling-props-typography-docs.md +0 -121
- package/generated/docs/themes-available-themes-docs.md +0 -66
- package/generated/docs/themes-introduction-docs.md +0 -121
- package/generated/docs/versions-docs.md +0 -17
- /package/{LICENSE.txt → LICENSE} +0 -0
|
@@ -1,2282 +0,0 @@
|
|
|
1
|
-
[](#spacing)Spacing
|
|
2
|
-
===================
|
|
3
|
-
|
|
4
|
-
These are all styling props related to changing the spacing of a component.
|
|
5
|
-
|
|
6
|
-
[](#padding)Padding
|
|
7
|
-
-------------------
|
|
8
|
-
|
|
9
|
-
There are seven props you can use to customise the padding of any component. It accepts the entire spacing token spectrum.
|
|
10
|
-
|
|
11
|
-
* `p`: Change the padding on all axes
|
|
12
|
-
* `px`: Change the padding on the left and right of a component
|
|
13
|
-
* `py`: Change the padding on the top and bottom of a component
|
|
14
|
-
* `pl`: Change the padding on the left of a component
|
|
15
|
-
* `pr`: Change the padding on the right of a component
|
|
16
|
-
* `pt`: Change the padding on the top of a component
|
|
17
|
-
* `pb`: Change the padding on the bottom of a component
|
|
18
|
-
|
|
19
|
-
A panel that has extra large padding on all sides.
|
|
20
|
-
|
|
21
|
-
Hide code
|
|
22
|
-
|
|
23
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
24
|
-
|
|
25
|
-
<IressPanel
|
|
26
|
-
bg\="alt"
|
|
27
|
-
p\="xl"
|
|
28
|
-
\>
|
|
29
|
-
A panel that has extra large padding on all sides.
|
|
30
|
-
</IressPanel\>
|
|
31
|
-
|
|
32
|
-
Copy
|
|
33
|
-
|
|
34
|
-
#### [](#padding-props)Props
|
|
35
|
-
|
|
36
|
-
| Name | Description | Default | Control |
|
|
37
|
-
| --- | --- | --- | --- |
|
|
38
|
-
| m |
|
|
39
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
40
|
-
|
|
41
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
42
|
-
|
|
43
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
44
|
-
| --- | --- | --- | --- | --- |
|
|
45
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
46
|
-
|
|
47
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
48
|
-
|
|
49
|
-
| \- | Set object |
|
|
50
|
-
| mb |
|
|
51
|
-
|
|
52
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
53
|
-
|
|
54
|
-
It uses the spacing tokens in the design system.
|
|
55
|
-
|
|
56
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
57
|
-
| --- | --- | --- | --- | --- |
|
|
58
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
59
|
-
|
|
60
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
61
|
-
|
|
62
|
-
| \- | Set object |
|
|
63
|
-
| ml |
|
|
64
|
-
|
|
65
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
66
|
-
|
|
67
|
-
It uses the spacing tokens in the design system.
|
|
68
|
-
|
|
69
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
70
|
-
| --- | --- | --- | --- | --- |
|
|
71
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
72
|
-
|
|
73
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
74
|
-
|
|
75
|
-
| \- | Set object |
|
|
76
|
-
| mr |
|
|
77
|
-
|
|
78
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
79
|
-
|
|
80
|
-
It uses the spacing tokens in the design system.
|
|
81
|
-
|
|
82
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
83
|
-
| --- | --- | --- | --- | --- |
|
|
84
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
85
|
-
|
|
86
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
87
|
-
|
|
88
|
-
| \- | Set object |
|
|
89
|
-
| mt |
|
|
90
|
-
|
|
91
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
92
|
-
|
|
93
|
-
It uses the spacing tokens in the design system.
|
|
94
|
-
|
|
95
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
96
|
-
| --- | --- | --- | --- | --- |
|
|
97
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
98
|
-
|
|
99
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
100
|
-
|
|
101
|
-
| \- | Set object |
|
|
102
|
-
| mx |
|
|
103
|
-
|
|
104
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
105
|
-
|
|
106
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
107
|
-
|
|
108
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
109
|
-
| --- | --- | --- | --- | --- |
|
|
110
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
111
|
-
|
|
112
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
113
|
-
|
|
114
|
-
| \- | Set object |
|
|
115
|
-
| my |
|
|
116
|
-
|
|
117
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
118
|
-
|
|
119
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
120
|
-
|
|
121
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
122
|
-
| --- | --- | --- | --- | --- |
|
|
123
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
124
|
-
|
|
125
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
126
|
-
|
|
127
|
-
| \- | Set object |
|
|
128
|
-
| p |
|
|
129
|
-
|
|
130
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
131
|
-
|
|
132
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
133
|
-
|
|
134
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
135
|
-
| --- | --- | --- | --- | --- |
|
|
136
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
137
|
-
|
|
138
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
139
|
-
|
|
140
|
-
| \- |
|
|
141
|
-
|
|
142
|
-
"xl"
|
|
143
|
-
|
|
144
|
-
|
|
|
145
|
-
| pb |
|
|
146
|
-
|
|
147
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
148
|
-
|
|
149
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
150
|
-
|
|
151
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
152
|
-
| --- | --- | --- | --- | --- |
|
|
153
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
154
|
-
|
|
155
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
156
|
-
|
|
157
|
-
| \- | Set object |
|
|
158
|
-
| pl |
|
|
159
|
-
|
|
160
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
161
|
-
|
|
162
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
163
|
-
|
|
164
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
165
|
-
| --- | --- | --- | --- | --- |
|
|
166
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
167
|
-
|
|
168
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
169
|
-
|
|
170
|
-
| \- | Set object |
|
|
171
|
-
| pr |
|
|
172
|
-
|
|
173
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
174
|
-
|
|
175
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
176
|
-
|
|
177
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
178
|
-
| --- | --- | --- | --- | --- |
|
|
179
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
180
|
-
|
|
181
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
182
|
-
|
|
183
|
-
| \- | Set object |
|
|
184
|
-
| pt |
|
|
185
|
-
|
|
186
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
187
|
-
|
|
188
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
189
|
-
|
|
190
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
191
|
-
| --- | --- | --- | --- | --- |
|
|
192
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
193
|
-
|
|
194
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
195
|
-
|
|
196
|
-
| \- | Set object |
|
|
197
|
-
| px |
|
|
198
|
-
|
|
199
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
200
|
-
|
|
201
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
202
|
-
|
|
203
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
204
|
-
| --- | --- | --- | --- | --- |
|
|
205
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
206
|
-
|
|
207
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
208
|
-
|
|
209
|
-
| \- | Set object |
|
|
210
|
-
| py |
|
|
211
|
-
|
|
212
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
213
|
-
|
|
214
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
215
|
-
|
|
216
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
217
|
-
| --- | --- | --- | --- | --- |
|
|
218
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
219
|
-
|
|
220
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
221
|
-
|
|
222
|
-
| \- | Set object |
|
|
223
|
-
|
|
224
|
-
Submit
|
|
225
|
-
|
|
226
|
-
Hide code
|
|
227
|
-
|
|
228
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
229
|
-
|
|
230
|
-
<IressButton
|
|
231
|
-
mode\="primary"
|
|
232
|
-
px\="xl"
|
|
233
|
-
\>
|
|
234
|
-
Submit
|
|
235
|
-
</IressButton\>
|
|
236
|
-
|
|
237
|
-
Copy
|
|
238
|
-
|
|
239
|
-
#### [](#button-props)Props
|
|
240
|
-
|
|
241
|
-
| Name | Description | Default | Control |
|
|
242
|
-
| --- | --- | --- | --- |
|
|
243
|
-
| px |
|
|
244
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
245
|
-
|
|
246
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
247
|
-
|
|
248
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
249
|
-
| --- | --- | --- | --- | --- |
|
|
250
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
251
|
-
|
|
252
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
253
|
-
|
|
254
|
-
| \- |
|
|
255
|
-
|
|
256
|
-
"xl"
|
|
257
|
-
|
|
258
|
-
|
|
|
259
|
-
|
|
260
|
-
A panel that has different padding on each side.
|
|
261
|
-
|
|
262
|
-
Hide code
|
|
263
|
-
|
|
264
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
265
|
-
|
|
266
|
-
<IressPanel
|
|
267
|
-
bg\="alt"
|
|
268
|
-
pb\="xl"
|
|
269
|
-
pl\="md"
|
|
270
|
-
pr\="spacing.600"
|
|
271
|
-
pt\="spacing.050"
|
|
272
|
-
\>
|
|
273
|
-
A panel that has different padding on each side.
|
|
274
|
-
</IressPanel\>
|
|
275
|
-
|
|
276
|
-
Copy
|
|
277
|
-
|
|
278
|
-
#### [](#variablePadding-props)Props
|
|
279
|
-
|
|
280
|
-
| Name | Description | Default | Control |
|
|
281
|
-
| --- | --- | --- | --- |
|
|
282
|
-
| m |
|
|
283
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
284
|
-
|
|
285
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
286
|
-
|
|
287
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
288
|
-
| --- | --- | --- | --- | --- |
|
|
289
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
290
|
-
|
|
291
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
292
|
-
|
|
293
|
-
| \- | Set object |
|
|
294
|
-
| mb |
|
|
295
|
-
|
|
296
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
297
|
-
|
|
298
|
-
It uses the spacing tokens in the design system.
|
|
299
|
-
|
|
300
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
301
|
-
| --- | --- | --- | --- | --- |
|
|
302
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
303
|
-
|
|
304
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
305
|
-
|
|
306
|
-
| \- | Set object |
|
|
307
|
-
| ml |
|
|
308
|
-
|
|
309
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
310
|
-
|
|
311
|
-
It uses the spacing tokens in the design system.
|
|
312
|
-
|
|
313
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
314
|
-
| --- | --- | --- | --- | --- |
|
|
315
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
316
|
-
|
|
317
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
318
|
-
|
|
319
|
-
| \- | Set object |
|
|
320
|
-
| mr |
|
|
321
|
-
|
|
322
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
323
|
-
|
|
324
|
-
It uses the spacing tokens in the design system.
|
|
325
|
-
|
|
326
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
327
|
-
| --- | --- | --- | --- | --- |
|
|
328
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
329
|
-
|
|
330
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
331
|
-
|
|
332
|
-
| \- | Set object |
|
|
333
|
-
| mt |
|
|
334
|
-
|
|
335
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
336
|
-
|
|
337
|
-
It uses the spacing tokens in the design system.
|
|
338
|
-
|
|
339
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
340
|
-
| --- | --- | --- | --- | --- |
|
|
341
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
342
|
-
|
|
343
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
344
|
-
|
|
345
|
-
| \- | Set object |
|
|
346
|
-
| mx |
|
|
347
|
-
|
|
348
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
349
|
-
|
|
350
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
351
|
-
|
|
352
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
353
|
-
| --- | --- | --- | --- | --- |
|
|
354
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
355
|
-
|
|
356
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
357
|
-
|
|
358
|
-
| \- | Set object |
|
|
359
|
-
| my |
|
|
360
|
-
|
|
361
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
362
|
-
|
|
363
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
364
|
-
|
|
365
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
366
|
-
| --- | --- | --- | --- | --- |
|
|
367
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
368
|
-
|
|
369
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
370
|
-
|
|
371
|
-
| \- | Set object |
|
|
372
|
-
| p |
|
|
373
|
-
|
|
374
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
375
|
-
|
|
376
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
377
|
-
|
|
378
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
379
|
-
| --- | --- | --- | --- | --- |
|
|
380
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
381
|
-
|
|
382
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
383
|
-
|
|
384
|
-
| \- | Set object |
|
|
385
|
-
| pb |
|
|
386
|
-
|
|
387
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
388
|
-
|
|
389
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
390
|
-
|
|
391
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
392
|
-
| --- | --- | --- | --- | --- |
|
|
393
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
394
|
-
|
|
395
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
396
|
-
|
|
397
|
-
| \- |
|
|
398
|
-
|
|
399
|
-
"xl"
|
|
400
|
-
|
|
401
|
-
|
|
|
402
|
-
| pl |
|
|
403
|
-
|
|
404
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
405
|
-
|
|
406
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
407
|
-
|
|
408
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
409
|
-
| --- | --- | --- | --- | --- |
|
|
410
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
411
|
-
|
|
412
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
413
|
-
|
|
414
|
-
| \- |
|
|
415
|
-
|
|
416
|
-
"md"
|
|
417
|
-
|
|
418
|
-
|
|
|
419
|
-
| pr |
|
|
420
|
-
|
|
421
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
422
|
-
|
|
423
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
424
|
-
|
|
425
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
426
|
-
| --- | --- | --- | --- | --- |
|
|
427
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
428
|
-
|
|
429
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
430
|
-
|
|
431
|
-
| \- |
|
|
432
|
-
|
|
433
|
-
"spacing.600"
|
|
434
|
-
|
|
435
|
-
|
|
|
436
|
-
| pt |
|
|
437
|
-
|
|
438
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
439
|
-
|
|
440
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
441
|
-
|
|
442
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
443
|
-
| --- | --- | --- | --- | --- |
|
|
444
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
445
|
-
|
|
446
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
447
|
-
|
|
448
|
-
| \- |
|
|
449
|
-
|
|
450
|
-
"spacing.050"
|
|
451
|
-
|
|
452
|
-
|
|
|
453
|
-
| px |
|
|
454
|
-
|
|
455
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
456
|
-
|
|
457
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
458
|
-
|
|
459
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
460
|
-
| --- | --- | --- | --- | --- |
|
|
461
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
462
|
-
|
|
463
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
464
|
-
|
|
465
|
-
| \- | Set object |
|
|
466
|
-
| py |
|
|
467
|
-
|
|
468
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
469
|
-
|
|
470
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
471
|
-
|
|
472
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
473
|
-
| --- | --- | --- | --- | --- |
|
|
474
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
475
|
-
|
|
476
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
477
|
-
|
|
478
|
-
| \- | Set object |
|
|
479
|
-
|
|
480
|
-
### [](#responsive-padding)Responsive padding
|
|
481
|
-
|
|
482
|
-
All padding props are responsive and can be changed according to different screen sizes.
|
|
483
|
-
|
|
484
|
-
A panel that has extra large padding on small screens and no padding on large screens.
|
|
485
|
-
|
|
486
|
-
Hide code
|
|
487
|
-
|
|
488
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
489
|
-
|
|
490
|
-
<IressPanel
|
|
491
|
-
bg\="alt"
|
|
492
|
-
p\={{
|
|
493
|
-
base: 'xl',
|
|
494
|
-
lg: 'none'
|
|
495
|
-
}}
|
|
496
|
-
\>
|
|
497
|
-
A panel that has extra large padding on small screens and no padding on large screens.
|
|
498
|
-
</IressPanel\>
|
|
499
|
-
|
|
500
|
-
Copy
|
|
501
|
-
|
|
502
|
-
#### [](#responsivePadding-props)Props
|
|
503
|
-
|
|
504
|
-
| Name | Description | Default | Control |
|
|
505
|
-
| --- | --- | --- | --- |
|
|
506
|
-
| m |
|
|
507
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
508
|
-
|
|
509
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
510
|
-
|
|
511
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
512
|
-
| --- | --- | --- | --- | --- |
|
|
513
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
514
|
-
|
|
515
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
516
|
-
|
|
517
|
-
| \- | Set object |
|
|
518
|
-
| mb |
|
|
519
|
-
|
|
520
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
521
|
-
|
|
522
|
-
It uses the spacing tokens in the design system.
|
|
523
|
-
|
|
524
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
525
|
-
| --- | --- | --- | --- | --- |
|
|
526
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
527
|
-
|
|
528
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
529
|
-
|
|
530
|
-
| \- | Set object |
|
|
531
|
-
| ml |
|
|
532
|
-
|
|
533
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
534
|
-
|
|
535
|
-
It uses the spacing tokens in the design system.
|
|
536
|
-
|
|
537
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
538
|
-
| --- | --- | --- | --- | --- |
|
|
539
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
540
|
-
|
|
541
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
542
|
-
|
|
543
|
-
| \- | Set object |
|
|
544
|
-
| mr |
|
|
545
|
-
|
|
546
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
547
|
-
|
|
548
|
-
It uses the spacing tokens in the design system.
|
|
549
|
-
|
|
550
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
551
|
-
| --- | --- | --- | --- | --- |
|
|
552
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
553
|
-
|
|
554
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
555
|
-
|
|
556
|
-
| \- | Set object |
|
|
557
|
-
| mt |
|
|
558
|
-
|
|
559
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
560
|
-
|
|
561
|
-
It uses the spacing tokens in the design system.
|
|
562
|
-
|
|
563
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
564
|
-
| --- | --- | --- | --- | --- |
|
|
565
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
566
|
-
|
|
567
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
568
|
-
|
|
569
|
-
| \- | Set object |
|
|
570
|
-
| mx |
|
|
571
|
-
|
|
572
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
573
|
-
|
|
574
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
575
|
-
|
|
576
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
577
|
-
| --- | --- | --- | --- | --- |
|
|
578
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
579
|
-
|
|
580
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
581
|
-
|
|
582
|
-
| \- | Set object |
|
|
583
|
-
| my |
|
|
584
|
-
|
|
585
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
586
|
-
|
|
587
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
588
|
-
|
|
589
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
590
|
-
| --- | --- | --- | --- | --- |
|
|
591
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
592
|
-
|
|
593
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
594
|
-
|
|
595
|
-
| \- | Set object |
|
|
596
|
-
| p |
|
|
597
|
-
|
|
598
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
599
|
-
|
|
600
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
601
|
-
|
|
602
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
603
|
-
| --- | --- | --- | --- | --- |
|
|
604
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
605
|
-
|
|
606
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
607
|
-
|
|
608
|
-
| \- |
|
|
609
|
-
|
|
610
|
-
RAW
|
|
611
|
-
|
|
612
|
-
p : {
|
|
613
|
-
|
|
614
|
-
* base : "xl"
|
|
615
|
-
* lg : "none"
|
|
616
|
-
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
|
624
|
-
| pb |
|
|
625
|
-
|
|
626
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
627
|
-
|
|
628
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
629
|
-
|
|
630
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
631
|
-
| --- | --- | --- | --- | --- |
|
|
632
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
633
|
-
|
|
634
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
635
|
-
|
|
636
|
-
| \- | Set object |
|
|
637
|
-
| pl |
|
|
638
|
-
|
|
639
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
640
|
-
|
|
641
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
642
|
-
|
|
643
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
644
|
-
| --- | --- | --- | --- | --- |
|
|
645
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
646
|
-
|
|
647
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
648
|
-
|
|
649
|
-
| \- | Set object |
|
|
650
|
-
| pr |
|
|
651
|
-
|
|
652
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
653
|
-
|
|
654
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
655
|
-
|
|
656
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
657
|
-
| --- | --- | --- | --- | --- |
|
|
658
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
659
|
-
|
|
660
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
661
|
-
|
|
662
|
-
| \- | Set object |
|
|
663
|
-
| pt |
|
|
664
|
-
|
|
665
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
666
|
-
|
|
667
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
668
|
-
|
|
669
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
670
|
-
| --- | --- | --- | --- | --- |
|
|
671
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
672
|
-
|
|
673
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
674
|
-
|
|
675
|
-
| \- | Set object |
|
|
676
|
-
| px |
|
|
677
|
-
|
|
678
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
679
|
-
|
|
680
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
681
|
-
|
|
682
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
683
|
-
| --- | --- | --- | --- | --- |
|
|
684
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
685
|
-
|
|
686
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
687
|
-
|
|
688
|
-
| \- | Set object |
|
|
689
|
-
| py |
|
|
690
|
-
|
|
691
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
692
|
-
|
|
693
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
694
|
-
|
|
695
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
696
|
-
| --- | --- | --- | --- | --- |
|
|
697
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
698
|
-
|
|
699
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
700
|
-
|
|
701
|
-
| \- | Set object |
|
|
702
|
-
|
|
703
|
-
A panel that has responsive padding on the vertical and horizontal axes.
|
|
704
|
-
|
|
705
|
-
Hide code
|
|
706
|
-
|
|
707
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
708
|
-
|
|
709
|
-
<IressPanel
|
|
710
|
-
bg\="alt"
|
|
711
|
-
px\={{
|
|
712
|
-
base: 'none',
|
|
713
|
-
lg: 'xl'
|
|
714
|
-
}}
|
|
715
|
-
py\={{
|
|
716
|
-
base: 'xl',
|
|
717
|
-
lg: 'none'
|
|
718
|
-
}}
|
|
719
|
-
\>
|
|
720
|
-
A panel that has responsive padding on the vertical and horizontal axes.
|
|
721
|
-
</IressPanel\>
|
|
722
|
-
|
|
723
|
-
Copy
|
|
724
|
-
|
|
725
|
-
#### [](#responsiveVariablePadding-props)Props
|
|
726
|
-
|
|
727
|
-
| Name | Description | Default | Control |
|
|
728
|
-
| --- | --- | --- | --- |
|
|
729
|
-
| m |
|
|
730
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
731
|
-
|
|
732
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
733
|
-
|
|
734
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
735
|
-
| --- | --- | --- | --- | --- |
|
|
736
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
737
|
-
|
|
738
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
739
|
-
|
|
740
|
-
| \- | Set object |
|
|
741
|
-
| mb |
|
|
742
|
-
|
|
743
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
744
|
-
|
|
745
|
-
It uses the spacing tokens in the design system.
|
|
746
|
-
|
|
747
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
748
|
-
| --- | --- | --- | --- | --- |
|
|
749
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
750
|
-
|
|
751
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
752
|
-
|
|
753
|
-
| \- | Set object |
|
|
754
|
-
| ml |
|
|
755
|
-
|
|
756
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
757
|
-
|
|
758
|
-
It uses the spacing tokens in the design system.
|
|
759
|
-
|
|
760
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
761
|
-
| --- | --- | --- | --- | --- |
|
|
762
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
763
|
-
|
|
764
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
765
|
-
|
|
766
|
-
| \- | Set object |
|
|
767
|
-
| mr |
|
|
768
|
-
|
|
769
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
770
|
-
|
|
771
|
-
It uses the spacing tokens in the design system.
|
|
772
|
-
|
|
773
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
774
|
-
| --- | --- | --- | --- | --- |
|
|
775
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
776
|
-
|
|
777
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
778
|
-
|
|
779
|
-
| \- | Set object |
|
|
780
|
-
| mt |
|
|
781
|
-
|
|
782
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
783
|
-
|
|
784
|
-
It uses the spacing tokens in the design system.
|
|
785
|
-
|
|
786
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
787
|
-
| --- | --- | --- | --- | --- |
|
|
788
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
789
|
-
|
|
790
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
791
|
-
|
|
792
|
-
| \- | Set object |
|
|
793
|
-
| mx |
|
|
794
|
-
|
|
795
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
796
|
-
|
|
797
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
798
|
-
|
|
799
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
800
|
-
| --- | --- | --- | --- | --- |
|
|
801
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
802
|
-
|
|
803
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
804
|
-
|
|
805
|
-
| \- | Set object |
|
|
806
|
-
| my |
|
|
807
|
-
|
|
808
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
809
|
-
|
|
810
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
811
|
-
|
|
812
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
813
|
-
| --- | --- | --- | --- | --- |
|
|
814
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
815
|
-
|
|
816
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
817
|
-
|
|
818
|
-
| \- | Set object |
|
|
819
|
-
| p |
|
|
820
|
-
|
|
821
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
822
|
-
|
|
823
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
824
|
-
|
|
825
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
826
|
-
| --- | --- | --- | --- | --- |
|
|
827
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
828
|
-
|
|
829
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
830
|
-
|
|
831
|
-
| \- | Set object |
|
|
832
|
-
| pb |
|
|
833
|
-
|
|
834
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
835
|
-
|
|
836
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
837
|
-
|
|
838
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
839
|
-
| --- | --- | --- | --- | --- |
|
|
840
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
841
|
-
|
|
842
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
843
|
-
|
|
844
|
-
| \- | Set object |
|
|
845
|
-
| pl |
|
|
846
|
-
|
|
847
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
848
|
-
|
|
849
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
850
|
-
|
|
851
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
852
|
-
| --- | --- | --- | --- | --- |
|
|
853
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
854
|
-
|
|
855
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
856
|
-
|
|
857
|
-
| \- | Set object |
|
|
858
|
-
| pr |
|
|
859
|
-
|
|
860
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
861
|
-
|
|
862
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
863
|
-
|
|
864
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
865
|
-
| --- | --- | --- | --- | --- |
|
|
866
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
867
|
-
|
|
868
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
869
|
-
|
|
870
|
-
| \- | Set object |
|
|
871
|
-
| pt |
|
|
872
|
-
|
|
873
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
874
|
-
|
|
875
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
876
|
-
|
|
877
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
878
|
-
| --- | --- | --- | --- | --- |
|
|
879
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
880
|
-
|
|
881
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
882
|
-
|
|
883
|
-
| \- | Set object |
|
|
884
|
-
| px |
|
|
885
|
-
|
|
886
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
887
|
-
|
|
888
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
889
|
-
|
|
890
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
891
|
-
| --- | --- | --- | --- | --- |
|
|
892
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
893
|
-
|
|
894
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
895
|
-
|
|
896
|
-
| \- |
|
|
897
|
-
|
|
898
|
-
RAW
|
|
899
|
-
|
|
900
|
-
px : {
|
|
901
|
-
|
|
902
|
-
* base : "none"
|
|
903
|
-
* lg : "xl"
|
|
904
|
-
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
|
912
|
-
| py |
|
|
913
|
-
|
|
914
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
915
|
-
|
|
916
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
917
|
-
|
|
918
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
919
|
-
| --- | --- | --- | --- | --- |
|
|
920
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
921
|
-
|
|
922
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
923
|
-
|
|
924
|
-
| \- |
|
|
925
|
-
|
|
926
|
-
RAW
|
|
927
|
-
|
|
928
|
-
py : {
|
|
929
|
-
|
|
930
|
-
* base : "xl"
|
|
931
|
-
* lg : "none"
|
|
932
|
-
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
|
940
|
-
|
|
941
|
-
### [](#migrating-from-version-5)Migrating from version 5
|
|
942
|
-
|
|
943
|
-
Responsive padding worked differently in version 5. The `p` prop no longer accepts a nested object of axes to change the padding, you must change every prop based on the breakpoint.
|
|
944
|
-
|
|
945
|
-
<table class="css-1n5o7vh-diff-container"><tbody><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-rq9a2a-diff-removed"><pre>-</pre></td><td class="css-vl0irh-content css-rq9a2a-diff-removed"><pre class="css-o1u8iu-content-text"><IressPanel p={{ t: 'xl', b: 'xl' }} /></pre></td></tr><tr class="css-1n7ec1i-line"><td class="css-17vezug-marker css-cnnxkz-diff-added"><pre>+</pre></td><td class="css-vl0irh-content css-cnnxkz-diff-added"><pre class="css-o1u8iu-content-text"><IressPanel pt="xl" pb="xl" /></pre></td></tr></tbody></table>
|
|
946
|
-
|
|
947
|
-
[](#margin)Margin
|
|
948
|
-
-----------------
|
|
949
|
-
|
|
950
|
-
There are seven props you can use to customise the margin of any component. It accepts the entire spacing token spectrum, `auto` and negative values of the spacing token spectrum.
|
|
951
|
-
|
|
952
|
-
* `m`: Change the margin on all axes
|
|
953
|
-
* `mx`: Change the margin on the left and right of a component
|
|
954
|
-
* `my`: Change the margin on the top and bottom of a component
|
|
955
|
-
* `ml`: Change the margin on the left of a component
|
|
956
|
-
* `mr`: Change the margin on the right of a component
|
|
957
|
-
* `mt`: Change the margin on the top of a component
|
|
958
|
-
* `mb`: Change the margin on the bottom of a component
|
|
959
|
-
|
|
960
|
-
A panel that has the same margin on all sides.
|
|
961
|
-
|
|
962
|
-
Hide code
|
|
963
|
-
|
|
964
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
965
|
-
|
|
966
|
-
<IressPanel
|
|
967
|
-
bg\="alt"
|
|
968
|
-
m\="xl"
|
|
969
|
-
\>
|
|
970
|
-
A panel that has the same margin on all sides.
|
|
971
|
-
</IressPanel\>
|
|
972
|
-
|
|
973
|
-
Copy
|
|
974
|
-
|
|
975
|
-
#### [](#margin-props)Props
|
|
976
|
-
|
|
977
|
-
| Name | Description | Default | Control |
|
|
978
|
-
| --- | --- | --- | --- |
|
|
979
|
-
| m |
|
|
980
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
981
|
-
|
|
982
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
983
|
-
|
|
984
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
985
|
-
| --- | --- | --- | --- | --- |
|
|
986
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
987
|
-
|
|
988
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
989
|
-
|
|
990
|
-
| \- |
|
|
991
|
-
|
|
992
|
-
"xl"
|
|
993
|
-
|
|
994
|
-
|
|
|
995
|
-
| mb |
|
|
996
|
-
|
|
997
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
998
|
-
|
|
999
|
-
It uses the spacing tokens in the design system.
|
|
1000
|
-
|
|
1001
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1002
|
-
| --- | --- | --- | --- | --- |
|
|
1003
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1004
|
-
|
|
1005
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1006
|
-
|
|
1007
|
-
| \- | Set object |
|
|
1008
|
-
| ml |
|
|
1009
|
-
|
|
1010
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1011
|
-
|
|
1012
|
-
It uses the spacing tokens in the design system.
|
|
1013
|
-
|
|
1014
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1015
|
-
| --- | --- | --- | --- | --- |
|
|
1016
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1017
|
-
|
|
1018
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1019
|
-
|
|
1020
|
-
| \- | Set object |
|
|
1021
|
-
| mr |
|
|
1022
|
-
|
|
1023
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1024
|
-
|
|
1025
|
-
It uses the spacing tokens in the design system.
|
|
1026
|
-
|
|
1027
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1028
|
-
| --- | --- | --- | --- | --- |
|
|
1029
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1030
|
-
|
|
1031
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1032
|
-
|
|
1033
|
-
| \- | Set object |
|
|
1034
|
-
| mt |
|
|
1035
|
-
|
|
1036
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1037
|
-
|
|
1038
|
-
It uses the spacing tokens in the design system.
|
|
1039
|
-
|
|
1040
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1041
|
-
| --- | --- | --- | --- | --- |
|
|
1042
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1043
|
-
|
|
1044
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1045
|
-
|
|
1046
|
-
| \- | Set object |
|
|
1047
|
-
| mx |
|
|
1048
|
-
|
|
1049
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1050
|
-
|
|
1051
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1052
|
-
|
|
1053
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1054
|
-
| --- | --- | --- | --- | --- |
|
|
1055
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1056
|
-
|
|
1057
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1058
|
-
|
|
1059
|
-
| \- | Set object |
|
|
1060
|
-
| my |
|
|
1061
|
-
|
|
1062
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1063
|
-
|
|
1064
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1065
|
-
|
|
1066
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1067
|
-
| --- | --- | --- | --- | --- |
|
|
1068
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1069
|
-
|
|
1070
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1071
|
-
|
|
1072
|
-
| \- | Set object |
|
|
1073
|
-
| p |
|
|
1074
|
-
|
|
1075
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
1076
|
-
|
|
1077
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1078
|
-
|
|
1079
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1080
|
-
| --- | --- | --- | --- | --- |
|
|
1081
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1082
|
-
|
|
1083
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1084
|
-
|
|
1085
|
-
| \- | Set object |
|
|
1086
|
-
| pb |
|
|
1087
|
-
|
|
1088
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
1089
|
-
|
|
1090
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1091
|
-
|
|
1092
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1093
|
-
| --- | --- | --- | --- | --- |
|
|
1094
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1095
|
-
|
|
1096
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1097
|
-
|
|
1098
|
-
| \- | Set object |
|
|
1099
|
-
| pl |
|
|
1100
|
-
|
|
1101
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
1102
|
-
|
|
1103
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1104
|
-
|
|
1105
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1106
|
-
| --- | --- | --- | --- | --- |
|
|
1107
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1108
|
-
|
|
1109
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1110
|
-
|
|
1111
|
-
| \- | Set object |
|
|
1112
|
-
| pr |
|
|
1113
|
-
|
|
1114
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
1115
|
-
|
|
1116
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1117
|
-
|
|
1118
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1119
|
-
| --- | --- | --- | --- | --- |
|
|
1120
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1121
|
-
|
|
1122
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1123
|
-
|
|
1124
|
-
| \- | Set object |
|
|
1125
|
-
| pt |
|
|
1126
|
-
|
|
1127
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
1128
|
-
|
|
1129
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1130
|
-
|
|
1131
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1132
|
-
| --- | --- | --- | --- | --- |
|
|
1133
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1134
|
-
|
|
1135
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1136
|
-
|
|
1137
|
-
| \- | Set object |
|
|
1138
|
-
| px |
|
|
1139
|
-
|
|
1140
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1141
|
-
|
|
1142
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1143
|
-
|
|
1144
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1145
|
-
| --- | --- | --- | --- | --- |
|
|
1146
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1147
|
-
|
|
1148
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1149
|
-
|
|
1150
|
-
| \- | Set object |
|
|
1151
|
-
| py |
|
|
1152
|
-
|
|
1153
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1154
|
-
|
|
1155
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1156
|
-
|
|
1157
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1158
|
-
| --- | --- | --- | --- | --- |
|
|
1159
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1160
|
-
|
|
1161
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1162
|
-
|
|
1163
|
-
| \- | Set object |
|
|
1164
|
-
|
|
1165
|
-
A panel that has different margin on each side.
|
|
1166
|
-
|
|
1167
|
-
Hide code
|
|
1168
|
-
|
|
1169
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
1170
|
-
|
|
1171
|
-
<IressPanel
|
|
1172
|
-
bg\="alt"
|
|
1173
|
-
mb\="xl"
|
|
1174
|
-
ml\="md"
|
|
1175
|
-
mr\="spacing.600"
|
|
1176
|
-
mt\="spacing.050"
|
|
1177
|
-
\>
|
|
1178
|
-
A panel that has different margin on each side.
|
|
1179
|
-
</IressPanel\>
|
|
1180
|
-
|
|
1181
|
-
Copy
|
|
1182
|
-
|
|
1183
|
-
#### [](#variableMargin-props)Props
|
|
1184
|
-
|
|
1185
|
-
| Name | Description | Default | Control |
|
|
1186
|
-
| --- | --- | --- | --- |
|
|
1187
|
-
| m |
|
|
1188
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
1189
|
-
|
|
1190
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1191
|
-
|
|
1192
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1193
|
-
| --- | --- | --- | --- | --- |
|
|
1194
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1195
|
-
|
|
1196
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1197
|
-
|
|
1198
|
-
| \- | Set object |
|
|
1199
|
-
| mb |
|
|
1200
|
-
|
|
1201
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1202
|
-
|
|
1203
|
-
It uses the spacing tokens in the design system.
|
|
1204
|
-
|
|
1205
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1206
|
-
| --- | --- | --- | --- | --- |
|
|
1207
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1208
|
-
|
|
1209
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1210
|
-
|
|
1211
|
-
| \- |
|
|
1212
|
-
|
|
1213
|
-
"xl"
|
|
1214
|
-
|
|
1215
|
-
|
|
|
1216
|
-
| ml |
|
|
1217
|
-
|
|
1218
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1219
|
-
|
|
1220
|
-
It uses the spacing tokens in the design system.
|
|
1221
|
-
|
|
1222
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1223
|
-
| --- | --- | --- | --- | --- |
|
|
1224
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1225
|
-
|
|
1226
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1227
|
-
|
|
1228
|
-
| \- |
|
|
1229
|
-
|
|
1230
|
-
"md"
|
|
1231
|
-
|
|
1232
|
-
|
|
|
1233
|
-
| mr |
|
|
1234
|
-
|
|
1235
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1236
|
-
|
|
1237
|
-
It uses the spacing tokens in the design system.
|
|
1238
|
-
|
|
1239
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1240
|
-
| --- | --- | --- | --- | --- |
|
|
1241
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1242
|
-
|
|
1243
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1244
|
-
|
|
1245
|
-
| \- |
|
|
1246
|
-
|
|
1247
|
-
"spacing.600"
|
|
1248
|
-
|
|
1249
|
-
|
|
|
1250
|
-
| mt |
|
|
1251
|
-
|
|
1252
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1253
|
-
|
|
1254
|
-
It uses the spacing tokens in the design system.
|
|
1255
|
-
|
|
1256
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1257
|
-
| --- | --- | --- | --- | --- |
|
|
1258
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1259
|
-
|
|
1260
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1261
|
-
|
|
1262
|
-
| \- |
|
|
1263
|
-
|
|
1264
|
-
"spacing.050"
|
|
1265
|
-
|
|
1266
|
-
|
|
|
1267
|
-
| mx |
|
|
1268
|
-
|
|
1269
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1270
|
-
|
|
1271
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1272
|
-
|
|
1273
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1274
|
-
| --- | --- | --- | --- | --- |
|
|
1275
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1276
|
-
|
|
1277
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1278
|
-
|
|
1279
|
-
| \- | Set object |
|
|
1280
|
-
| my |
|
|
1281
|
-
|
|
1282
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1283
|
-
|
|
1284
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1285
|
-
|
|
1286
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1287
|
-
| --- | --- | --- | --- | --- |
|
|
1288
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1289
|
-
|
|
1290
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1291
|
-
|
|
1292
|
-
| \- | Set object |
|
|
1293
|
-
| p |
|
|
1294
|
-
|
|
1295
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
1296
|
-
|
|
1297
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1298
|
-
|
|
1299
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1300
|
-
| --- | --- | --- | --- | --- |
|
|
1301
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1302
|
-
|
|
1303
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1304
|
-
|
|
1305
|
-
| \- | Set object |
|
|
1306
|
-
| pb |
|
|
1307
|
-
|
|
1308
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
1309
|
-
|
|
1310
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1311
|
-
|
|
1312
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1313
|
-
| --- | --- | --- | --- | --- |
|
|
1314
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1315
|
-
|
|
1316
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1317
|
-
|
|
1318
|
-
| \- | Set object |
|
|
1319
|
-
| pl |
|
|
1320
|
-
|
|
1321
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
1322
|
-
|
|
1323
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1324
|
-
|
|
1325
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1326
|
-
| --- | --- | --- | --- | --- |
|
|
1327
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1328
|
-
|
|
1329
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1330
|
-
|
|
1331
|
-
| \- | Set object |
|
|
1332
|
-
| pr |
|
|
1333
|
-
|
|
1334
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
1335
|
-
|
|
1336
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1337
|
-
|
|
1338
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1339
|
-
| --- | --- | --- | --- | --- |
|
|
1340
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1341
|
-
|
|
1342
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1343
|
-
|
|
1344
|
-
| \- | Set object |
|
|
1345
|
-
| pt |
|
|
1346
|
-
|
|
1347
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
1348
|
-
|
|
1349
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1350
|
-
|
|
1351
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1352
|
-
| --- | --- | --- | --- | --- |
|
|
1353
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1354
|
-
|
|
1355
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1356
|
-
|
|
1357
|
-
| \- | Set object |
|
|
1358
|
-
| px |
|
|
1359
|
-
|
|
1360
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1361
|
-
|
|
1362
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1363
|
-
|
|
1364
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1365
|
-
| --- | --- | --- | --- | --- |
|
|
1366
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1367
|
-
|
|
1368
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1369
|
-
|
|
1370
|
-
| \- | Set object |
|
|
1371
|
-
| py |
|
|
1372
|
-
|
|
1373
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1374
|
-
|
|
1375
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1376
|
-
|
|
1377
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1378
|
-
| --- | --- | --- | --- | --- |
|
|
1379
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1380
|
-
|
|
1381
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1382
|
-
|
|
1383
|
-
| \- | Set object |
|
|
1384
|
-
|
|
1385
|
-
### [](#responsive-margin)Responsive margin
|
|
1386
|
-
|
|
1387
|
-
All margin props are responsive and can be changed according to different screen sizes.
|
|
1388
|
-
|
|
1389
|
-
A panel that has extra large margin on small screens and no margin on large screens.
|
|
1390
|
-
|
|
1391
|
-
Hide code
|
|
1392
|
-
|
|
1393
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
1394
|
-
|
|
1395
|
-
<IressPanel
|
|
1396
|
-
bg\="alt"
|
|
1397
|
-
m\={{
|
|
1398
|
-
base: 'xl',
|
|
1399
|
-
lg: 'none'
|
|
1400
|
-
}}
|
|
1401
|
-
\>
|
|
1402
|
-
A panel that has extra large margin on small screens and no margin on large screens.
|
|
1403
|
-
</IressPanel\>
|
|
1404
|
-
|
|
1405
|
-
Copy
|
|
1406
|
-
|
|
1407
|
-
#### [](#responsiveMargin-props)Props
|
|
1408
|
-
|
|
1409
|
-
| Name | Description | Default | Control |
|
|
1410
|
-
| --- | --- | --- | --- |
|
|
1411
|
-
| m |
|
|
1412
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
1413
|
-
|
|
1414
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1415
|
-
|
|
1416
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1417
|
-
| --- | --- | --- | --- | --- |
|
|
1418
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1419
|
-
|
|
1420
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1421
|
-
|
|
1422
|
-
| \- |
|
|
1423
|
-
|
|
1424
|
-
RAW
|
|
1425
|
-
|
|
1426
|
-
m : {
|
|
1427
|
-
|
|
1428
|
-
* base : "xl"
|
|
1429
|
-
* lg : "none"
|
|
1430
|
-
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
|
1438
|
-
| mb |
|
|
1439
|
-
|
|
1440
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1441
|
-
|
|
1442
|
-
It uses the spacing tokens in the design system.
|
|
1443
|
-
|
|
1444
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1445
|
-
| --- | --- | --- | --- | --- |
|
|
1446
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1447
|
-
|
|
1448
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1449
|
-
|
|
1450
|
-
| \- | Set object |
|
|
1451
|
-
| ml |
|
|
1452
|
-
|
|
1453
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1454
|
-
|
|
1455
|
-
It uses the spacing tokens in the design system.
|
|
1456
|
-
|
|
1457
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1458
|
-
| --- | --- | --- | --- | --- |
|
|
1459
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1460
|
-
|
|
1461
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1462
|
-
|
|
1463
|
-
| \- | Set object |
|
|
1464
|
-
| mr |
|
|
1465
|
-
|
|
1466
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1467
|
-
|
|
1468
|
-
It uses the spacing tokens in the design system.
|
|
1469
|
-
|
|
1470
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1471
|
-
| --- | --- | --- | --- | --- |
|
|
1472
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1473
|
-
|
|
1474
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1475
|
-
|
|
1476
|
-
| \- | Set object |
|
|
1477
|
-
| mt |
|
|
1478
|
-
|
|
1479
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1480
|
-
|
|
1481
|
-
It uses the spacing tokens in the design system.
|
|
1482
|
-
|
|
1483
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1484
|
-
| --- | --- | --- | --- | --- |
|
|
1485
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1486
|
-
|
|
1487
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1488
|
-
|
|
1489
|
-
| \- | Set object |
|
|
1490
|
-
| mx |
|
|
1491
|
-
|
|
1492
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1493
|
-
|
|
1494
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1495
|
-
|
|
1496
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1497
|
-
| --- | --- | --- | --- | --- |
|
|
1498
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1499
|
-
|
|
1500
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1501
|
-
|
|
1502
|
-
| \- | Set object |
|
|
1503
|
-
| my |
|
|
1504
|
-
|
|
1505
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1506
|
-
|
|
1507
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1508
|
-
|
|
1509
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1510
|
-
| --- | --- | --- | --- | --- |
|
|
1511
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1512
|
-
|
|
1513
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1514
|
-
|
|
1515
|
-
| \- | Set object |
|
|
1516
|
-
| p |
|
|
1517
|
-
|
|
1518
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
1519
|
-
|
|
1520
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1521
|
-
|
|
1522
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1523
|
-
| --- | --- | --- | --- | --- |
|
|
1524
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1525
|
-
|
|
1526
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1527
|
-
|
|
1528
|
-
| \- | Set object |
|
|
1529
|
-
| pb |
|
|
1530
|
-
|
|
1531
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
1532
|
-
|
|
1533
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1534
|
-
|
|
1535
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1536
|
-
| --- | --- | --- | --- | --- |
|
|
1537
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1538
|
-
|
|
1539
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1540
|
-
|
|
1541
|
-
| \- | Set object |
|
|
1542
|
-
| pl |
|
|
1543
|
-
|
|
1544
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
1545
|
-
|
|
1546
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1547
|
-
|
|
1548
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1549
|
-
| --- | --- | --- | --- | --- |
|
|
1550
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1551
|
-
|
|
1552
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1553
|
-
|
|
1554
|
-
| \- | Set object |
|
|
1555
|
-
| pr |
|
|
1556
|
-
|
|
1557
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
1558
|
-
|
|
1559
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1560
|
-
|
|
1561
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1562
|
-
| --- | --- | --- | --- | --- |
|
|
1563
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1564
|
-
|
|
1565
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1566
|
-
|
|
1567
|
-
| \- | Set object |
|
|
1568
|
-
| pt |
|
|
1569
|
-
|
|
1570
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
1571
|
-
|
|
1572
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1573
|
-
|
|
1574
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1575
|
-
| --- | --- | --- | --- | --- |
|
|
1576
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1577
|
-
|
|
1578
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1579
|
-
|
|
1580
|
-
| \- | Set object |
|
|
1581
|
-
| px |
|
|
1582
|
-
|
|
1583
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1584
|
-
|
|
1585
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1586
|
-
|
|
1587
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1588
|
-
| --- | --- | --- | --- | --- |
|
|
1589
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1590
|
-
|
|
1591
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1592
|
-
|
|
1593
|
-
| \- | Set object |
|
|
1594
|
-
| py |
|
|
1595
|
-
|
|
1596
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1597
|
-
|
|
1598
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1599
|
-
|
|
1600
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1601
|
-
| --- | --- | --- | --- | --- |
|
|
1602
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1603
|
-
|
|
1604
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1605
|
-
|
|
1606
|
-
| \- | Set object |
|
|
1607
|
-
|
|
1608
|
-
A panel that has responsive margin on the vertical and horizontal axes.
|
|
1609
|
-
|
|
1610
|
-
Hide code
|
|
1611
|
-
|
|
1612
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
1613
|
-
|
|
1614
|
-
<IressPanel
|
|
1615
|
-
bg\="alt"
|
|
1616
|
-
mx\={{
|
|
1617
|
-
base: 'none',
|
|
1618
|
-
lg: 'xl'
|
|
1619
|
-
}}
|
|
1620
|
-
my\={{
|
|
1621
|
-
base: 'xl',
|
|
1622
|
-
lg: 'none'
|
|
1623
|
-
}}
|
|
1624
|
-
\>
|
|
1625
|
-
A panel that has responsive margin on the vertical and horizontal axes.
|
|
1626
|
-
</IressPanel\>
|
|
1627
|
-
|
|
1628
|
-
Copy
|
|
1629
|
-
|
|
1630
|
-
#### [](#responsiveVariableMargin-props)Props
|
|
1631
|
-
|
|
1632
|
-
| Name | Description | Default | Control |
|
|
1633
|
-
| --- | --- | --- | --- |
|
|
1634
|
-
| m |
|
|
1635
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
1636
|
-
|
|
1637
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1638
|
-
|
|
1639
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1640
|
-
| --- | --- | --- | --- | --- |
|
|
1641
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1642
|
-
|
|
1643
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1644
|
-
|
|
1645
|
-
| \- | Set object |
|
|
1646
|
-
| mb |
|
|
1647
|
-
|
|
1648
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1649
|
-
|
|
1650
|
-
It uses the spacing tokens in the design system.
|
|
1651
|
-
|
|
1652
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1653
|
-
| --- | --- | --- | --- | --- |
|
|
1654
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1655
|
-
|
|
1656
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1657
|
-
|
|
1658
|
-
| \- | Set object |
|
|
1659
|
-
| ml |
|
|
1660
|
-
|
|
1661
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1662
|
-
|
|
1663
|
-
It uses the spacing tokens in the design system.
|
|
1664
|
-
|
|
1665
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1666
|
-
| --- | --- | --- | --- | --- |
|
|
1667
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1668
|
-
|
|
1669
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1670
|
-
|
|
1671
|
-
| \- | Set object |
|
|
1672
|
-
| mr |
|
|
1673
|
-
|
|
1674
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1675
|
-
|
|
1676
|
-
It uses the spacing tokens in the design system.
|
|
1677
|
-
|
|
1678
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1679
|
-
| --- | --- | --- | --- | --- |
|
|
1680
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1681
|
-
|
|
1682
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1683
|
-
|
|
1684
|
-
| \- | Set object |
|
|
1685
|
-
| mt |
|
|
1686
|
-
|
|
1687
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1688
|
-
|
|
1689
|
-
It uses the spacing tokens in the design system.
|
|
1690
|
-
|
|
1691
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1692
|
-
| --- | --- | --- | --- | --- |
|
|
1693
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1694
|
-
|
|
1695
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1696
|
-
|
|
1697
|
-
| \- | Set object |
|
|
1698
|
-
| mx |
|
|
1699
|
-
|
|
1700
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1701
|
-
|
|
1702
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1703
|
-
|
|
1704
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1705
|
-
| --- | --- | --- | --- | --- |
|
|
1706
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1707
|
-
|
|
1708
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1709
|
-
|
|
1710
|
-
| \- |
|
|
1711
|
-
|
|
1712
|
-
RAW
|
|
1713
|
-
|
|
1714
|
-
mx : {
|
|
1715
|
-
|
|
1716
|
-
* base : "none"
|
|
1717
|
-
* lg : "xl"
|
|
1718
|
-
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
|
1726
|
-
| my |
|
|
1727
|
-
|
|
1728
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1729
|
-
|
|
1730
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1731
|
-
|
|
1732
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1733
|
-
| --- | --- | --- | --- | --- |
|
|
1734
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1735
|
-
|
|
1736
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1737
|
-
|
|
1738
|
-
| \- |
|
|
1739
|
-
|
|
1740
|
-
RAW
|
|
1741
|
-
|
|
1742
|
-
my : {
|
|
1743
|
-
|
|
1744
|
-
* base : "xl"
|
|
1745
|
-
* lg : "none"
|
|
1746
|
-
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
|
1754
|
-
| p |
|
|
1755
|
-
|
|
1756
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
1757
|
-
|
|
1758
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1759
|
-
|
|
1760
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1761
|
-
| --- | --- | --- | --- | --- |
|
|
1762
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1763
|
-
|
|
1764
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1765
|
-
|
|
1766
|
-
| \- | Set object |
|
|
1767
|
-
| pb |
|
|
1768
|
-
|
|
1769
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
1770
|
-
|
|
1771
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1772
|
-
|
|
1773
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1774
|
-
| --- | --- | --- | --- | --- |
|
|
1775
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1776
|
-
|
|
1777
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1778
|
-
|
|
1779
|
-
| \- | Set object |
|
|
1780
|
-
| pl |
|
|
1781
|
-
|
|
1782
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
1783
|
-
|
|
1784
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1785
|
-
|
|
1786
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1787
|
-
| --- | --- | --- | --- | --- |
|
|
1788
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1789
|
-
|
|
1790
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1791
|
-
|
|
1792
|
-
| \- | Set object |
|
|
1793
|
-
| pr |
|
|
1794
|
-
|
|
1795
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
1796
|
-
|
|
1797
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1798
|
-
|
|
1799
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1800
|
-
| --- | --- | --- | --- | --- |
|
|
1801
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1802
|
-
|
|
1803
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1804
|
-
|
|
1805
|
-
| \- | Set object |
|
|
1806
|
-
| pt |
|
|
1807
|
-
|
|
1808
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
1809
|
-
|
|
1810
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1811
|
-
|
|
1812
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1813
|
-
| --- | --- | --- | --- | --- |
|
|
1814
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1815
|
-
|
|
1816
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1817
|
-
|
|
1818
|
-
| \- | Set object |
|
|
1819
|
-
| px |
|
|
1820
|
-
|
|
1821
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1822
|
-
|
|
1823
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1824
|
-
|
|
1825
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1826
|
-
| --- | --- | --- | --- | --- |
|
|
1827
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1828
|
-
|
|
1829
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1830
|
-
|
|
1831
|
-
| \- | Set object |
|
|
1832
|
-
| py |
|
|
1833
|
-
|
|
1834
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
1835
|
-
|
|
1836
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1837
|
-
|
|
1838
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1839
|
-
| --- | --- | --- | --- | --- |
|
|
1840
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1841
|
-
|
|
1842
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1843
|
-
|
|
1844
|
-
| \- | Set object |
|
|
1845
|
-
|
|
1846
|
-
### [](#negative-margin)Negative margin
|
|
1847
|
-
|
|
1848
|
-
Negative margin is supported in the same way as positive margin. You can use the same props to set negative margin.
|
|
1849
|
-
|
|
1850
|
-
A panel that has negative margin and escapes its parent container
|
|
1851
|
-
|
|
1852
|
-
Hide code
|
|
1853
|
-
|
|
1854
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
1855
|
-
|
|
1856
|
-
<IressPanel
|
|
1857
|
-
layerStyle\="elevation.raised"
|
|
1858
|
-
maxWidth\="container.sm"
|
|
1859
|
-
mx\="auto"
|
|
1860
|
-
\>
|
|
1861
|
-
<IressPanel
|
|
1862
|
-
bg\="alt"
|
|
1863
|
-
mx\="\-xl"
|
|
1864
|
-
\>
|
|
1865
|
-
A panel that has negative margin and escapes its parent container </IressPanel\>
|
|
1866
|
-
</IressPanel\>
|
|
1867
|
-
|
|
1868
|
-
Copy
|
|
1869
|
-
|
|
1870
|
-
#### [](#negativeMargin-props)Props
|
|
1871
|
-
|
|
1872
|
-
| Name | Description | Default | Control |
|
|
1873
|
-
| --- | --- | --- | --- |
|
|
1874
|
-
| m |
|
|
1875
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
1876
|
-
|
|
1877
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1878
|
-
|
|
1879
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1880
|
-
| --- | --- | --- | --- | --- |
|
|
1881
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1882
|
-
|
|
1883
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1884
|
-
|
|
1885
|
-
| \- | Set object |
|
|
1886
|
-
| mb |
|
|
1887
|
-
|
|
1888
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1889
|
-
|
|
1890
|
-
It uses the spacing tokens in the design system.
|
|
1891
|
-
|
|
1892
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1893
|
-
| --- | --- | --- | --- | --- |
|
|
1894
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1895
|
-
|
|
1896
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1897
|
-
|
|
1898
|
-
| \- | Set object |
|
|
1899
|
-
| ml |
|
|
1900
|
-
|
|
1901
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1902
|
-
|
|
1903
|
-
It uses the spacing tokens in the design system.
|
|
1904
|
-
|
|
1905
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1906
|
-
| --- | --- | --- | --- | --- |
|
|
1907
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1908
|
-
|
|
1909
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1910
|
-
|
|
1911
|
-
| \- | Set object |
|
|
1912
|
-
| mr |
|
|
1913
|
-
|
|
1914
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1915
|
-
|
|
1916
|
-
It uses the spacing tokens in the design system.
|
|
1917
|
-
|
|
1918
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1919
|
-
| --- | --- | --- | --- | --- |
|
|
1920
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1921
|
-
|
|
1922
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1923
|
-
|
|
1924
|
-
| \- | Set object |
|
|
1925
|
-
| mt |
|
|
1926
|
-
|
|
1927
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
1928
|
-
|
|
1929
|
-
It uses the spacing tokens in the design system.
|
|
1930
|
-
|
|
1931
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1932
|
-
| --- | --- | --- | --- | --- |
|
|
1933
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1934
|
-
|
|
1935
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1936
|
-
|
|
1937
|
-
| \- | Set object |
|
|
1938
|
-
| mx |
|
|
1939
|
-
|
|
1940
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1941
|
-
|
|
1942
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1943
|
-
|
|
1944
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1945
|
-
| --- | --- | --- | --- | --- |
|
|
1946
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1947
|
-
|
|
1948
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1949
|
-
|
|
1950
|
-
| \- |
|
|
1951
|
-
|
|
1952
|
-
"-xl"
|
|
1953
|
-
|
|
1954
|
-
|
|
|
1955
|
-
| my |
|
|
1956
|
-
|
|
1957
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
1958
|
-
|
|
1959
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
1960
|
-
|
|
1961
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1962
|
-
| --- | --- | --- | --- | --- |
|
|
1963
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1964
|
-
|
|
1965
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
1966
|
-
|
|
1967
|
-
| \- | Set object |
|
|
1968
|
-
| p |
|
|
1969
|
-
|
|
1970
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
1971
|
-
|
|
1972
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1973
|
-
|
|
1974
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1975
|
-
| --- | --- | --- | --- | --- |
|
|
1976
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1977
|
-
|
|
1978
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1979
|
-
|
|
1980
|
-
| \- | Set object |
|
|
1981
|
-
| pb |
|
|
1982
|
-
|
|
1983
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
1984
|
-
|
|
1985
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1986
|
-
|
|
1987
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
1988
|
-
| --- | --- | --- | --- | --- |
|
|
1989
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
1990
|
-
|
|
1991
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
1992
|
-
|
|
1993
|
-
| \- | Set object |
|
|
1994
|
-
| pl |
|
|
1995
|
-
|
|
1996
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
1997
|
-
|
|
1998
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
1999
|
-
|
|
2000
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2001
|
-
| --- | --- | --- | --- | --- |
|
|
2002
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2003
|
-
|
|
2004
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2005
|
-
|
|
2006
|
-
| \- | Set object |
|
|
2007
|
-
| pr |
|
|
2008
|
-
|
|
2009
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
2010
|
-
|
|
2011
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2012
|
-
|
|
2013
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2014
|
-
| --- | --- | --- | --- | --- |
|
|
2015
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2016
|
-
|
|
2017
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2018
|
-
|
|
2019
|
-
| \- | Set object |
|
|
2020
|
-
| pt |
|
|
2021
|
-
|
|
2022
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
2023
|
-
|
|
2024
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2025
|
-
|
|
2026
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2027
|
-
| --- | --- | --- | --- | --- |
|
|
2028
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2029
|
-
|
|
2030
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2031
|
-
|
|
2032
|
-
| \- | Set object |
|
|
2033
|
-
| px |
|
|
2034
|
-
|
|
2035
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
2036
|
-
|
|
2037
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2038
|
-
|
|
2039
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2040
|
-
| --- | --- | --- | --- | --- |
|
|
2041
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2042
|
-
|
|
2043
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2044
|
-
|
|
2045
|
-
| \- | Set object |
|
|
2046
|
-
| py |
|
|
2047
|
-
|
|
2048
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
2049
|
-
|
|
2050
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2051
|
-
|
|
2052
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2053
|
-
| --- | --- | --- | --- | --- |
|
|
2054
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2055
|
-
|
|
2056
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2057
|
-
|
|
2058
|
-
| \- | Set object |
|
|
2059
|
-
|
|
2060
|
-
[](#nogutter)`noGutter`
|
|
2061
|
-
-----------------------
|
|
2062
|
-
|
|
2063
|
-
The `noGutter` prop removes the bottom margin of the last direct child of a component. This is useful when you have nested content inside a component with padding, such as `IressPanel` or `IressCard`, to remove unnecessary spacing in your layout.
|
|
2064
|
-
|
|
2065
|
-
* Margin is removed due to `noGutter`
|
|
2066
|
-
|
|
2067
|
-
Hide code
|
|
2068
|
-
|
|
2069
|
-
\[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
|
|
2070
|
-
|
|
2071
|
-
<IressPanel
|
|
2072
|
-
bg\="alt"
|
|
2073
|
-
noGutter
|
|
2074
|
-
\>
|
|
2075
|
-
<ul\>
|
|
2076
|
-
<li\>
|
|
2077
|
-
<React.Fragment key\=".0"\>
|
|
2078
|
-
Margin is removed due to{' '}
|
|
2079
|
-
<code\>
|
|
2080
|
-
noGutter </code\>
|
|
2081
|
-
</React.Fragment\>
|
|
2082
|
-
</li\>
|
|
2083
|
-
</ul\>
|
|
2084
|
-
</IressPanel\>
|
|
2085
|
-
|
|
2086
|
-
Copy
|
|
2087
|
-
|
|
2088
|
-
#### [](#noGutter-props)Props
|
|
2089
|
-
|
|
2090
|
-
| Name | Description | Default | Control |
|
|
2091
|
-
| --- | --- | --- | --- |
|
|
2092
|
-
| m |
|
|
2093
|
-
The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
|
|
2094
|
-
|
|
2095
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
2096
|
-
|
|
2097
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2098
|
-
| --- | --- | --- | --- | --- |
|
|
2099
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2100
|
-
|
|
2101
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2102
|
-
|
|
2103
|
-
| \- | Set object |
|
|
2104
|
-
| mb |
|
|
2105
|
-
|
|
2106
|
-
The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2107
|
-
|
|
2108
|
-
It uses the spacing tokens in the design system.
|
|
2109
|
-
|
|
2110
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2111
|
-
| --- | --- | --- | --- | --- |
|
|
2112
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2113
|
-
|
|
2114
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2115
|
-
|
|
2116
|
-
| \- | Set object |
|
|
2117
|
-
| ml |
|
|
2118
|
-
|
|
2119
|
-
The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2120
|
-
|
|
2121
|
-
It uses the spacing tokens in the design system.
|
|
2122
|
-
|
|
2123
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2124
|
-
| --- | --- | --- | --- | --- |
|
|
2125
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2126
|
-
|
|
2127
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2128
|
-
|
|
2129
|
-
| \- | Set object |
|
|
2130
|
-
| mr |
|
|
2131
|
-
|
|
2132
|
-
The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2133
|
-
|
|
2134
|
-
It uses the spacing tokens in the design system.
|
|
2135
|
-
|
|
2136
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2137
|
-
| --- | --- | --- | --- | --- |
|
|
2138
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2139
|
-
|
|
2140
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2141
|
-
|
|
2142
|
-
| \- | Set object |
|
|
2143
|
-
| mt |
|
|
2144
|
-
|
|
2145
|
-
The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
|
|
2146
|
-
|
|
2147
|
-
It uses the spacing tokens in the design system.
|
|
2148
|
-
|
|
2149
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2150
|
-
| --- | --- | --- | --- | --- |
|
|
2151
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2152
|
-
|
|
2153
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2154
|
-
|
|
2155
|
-
| \- | Set object |
|
|
2156
|
-
| mx |
|
|
2157
|
-
|
|
2158
|
-
The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
2159
|
-
|
|
2160
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
2161
|
-
|
|
2162
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2163
|
-
| --- | --- | --- | --- | --- |
|
|
2164
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2165
|
-
|
|
2166
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2167
|
-
|
|
2168
|
-
| \- | Set object |
|
|
2169
|
-
| my |
|
|
2170
|
-
|
|
2171
|
-
The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
|
|
2172
|
-
|
|
2173
|
-
It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
|
|
2174
|
-
|
|
2175
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2176
|
-
| --- | --- | --- | --- | --- |
|
|
2177
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2178
|
-
|
|
2179
|
-
ResponsiveProp<SpacingToken | "auto"> | undefined
|
|
2180
|
-
|
|
2181
|
-
| \- | Set object |
|
|
2182
|
-
| p |
|
|
2183
|
-
|
|
2184
|
-
The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
|
|
2185
|
-
|
|
2186
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2187
|
-
|
|
2188
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2189
|
-
| --- | --- | --- | --- | --- |
|
|
2190
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2191
|
-
|
|
2192
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2193
|
-
|
|
2194
|
-
| \- | Set object |
|
|
2195
|
-
| pb |
|
|
2196
|
-
|
|
2197
|
-
The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
|
|
2198
|
-
|
|
2199
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2200
|
-
|
|
2201
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2202
|
-
| --- | --- | --- | --- | --- |
|
|
2203
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2204
|
-
|
|
2205
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2206
|
-
|
|
2207
|
-
| \- | Set object |
|
|
2208
|
-
| pl |
|
|
2209
|
-
|
|
2210
|
-
The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
|
|
2211
|
-
|
|
2212
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2213
|
-
|
|
2214
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2215
|
-
| --- | --- | --- | --- | --- |
|
|
2216
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2217
|
-
|
|
2218
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2219
|
-
|
|
2220
|
-
| \- | Set object |
|
|
2221
|
-
| pr |
|
|
2222
|
-
|
|
2223
|
-
The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
|
|
2224
|
-
|
|
2225
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2226
|
-
|
|
2227
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2228
|
-
| --- | --- | --- | --- | --- |
|
|
2229
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2230
|
-
|
|
2231
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2232
|
-
|
|
2233
|
-
| \- | Set object |
|
|
2234
|
-
| pt |
|
|
2235
|
-
|
|
2236
|
-
The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
|
|
2237
|
-
|
|
2238
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2239
|
-
|
|
2240
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2241
|
-
| --- | --- | --- | --- | --- |
|
|
2242
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2243
|
-
|
|
2244
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2245
|
-
|
|
2246
|
-
| \- | Set object |
|
|
2247
|
-
| px |
|
|
2248
|
-
|
|
2249
|
-
The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
2250
|
-
|
|
2251
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2252
|
-
|
|
2253
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2254
|
-
| --- | --- | --- | --- | --- |
|
|
2255
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2256
|
-
|
|
2257
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2258
|
-
|
|
2259
|
-
| \- | Set object |
|
|
2260
|
-
| py |
|
|
2261
|
-
|
|
2262
|
-
The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
|
|
2263
|
-
|
|
2264
|
-
It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
|
|
2265
|
-
|
|
2266
|
-
| Chrome | Firefox | Safari | Edge | IE |
|
|
2267
|
-
| --- | --- | --- | --- | --- |
|
|
2268
|
-
| **1** | **1** | **1** | **12** | **3** |
|
|
2269
|
-
|
|
2270
|
-
ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
|
|
2271
|
-
|
|
2272
|
-
| \- | Set object |
|
|
2273
|
-
|
|
2274
|
-
On this page
|
|
2275
|
-
|
|
2276
|
-
* [Padding](#padding)
|
|
2277
|
-
* [Responsive padding](#responsive-padding)
|
|
2278
|
-
* [Migrating from version 5](#migrating-from-version-5)
|
|
2279
|
-
* [Margin](#margin)
|
|
2280
|
-
* [Responsive margin](#responsive-margin)
|
|
2281
|
-
* [Negative margin](#negative-margin)
|
|
2282
|
-
* [noGutter](#nogutter)
|