Skip to content

Commit 7cbdb48

Browse files
authored
Merge pull request #356 from nerdcave/fix/border-radius
Fix/border radius
2 parents 5b51d1d + ff43a5f commit 7cbdb48

File tree

1 file changed

+72
-31
lines changed

1 file changed

+72
-31
lines changed

source/docs/border-radius.blade.md

Lines changed: 72 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ features:
1818
],
1919
[
2020
'.rounded-sm',
21-
'border-radius: .125rem;',
21+
'border-radius: 0.125rem;',
2222
"Apply a small border radius to all corners of an element.",
2323
],
2424
[
2525
'.rounded',
26-
'border-radius: .25rem;',
26+
'border-radius: 0.25rem;',
2727
"Apply the default border radius to all corners of an element.",
2828
],
2929
[
3030
'.rounded-md',
31-
'border-radius: .375rem;',
31+
'border-radius: 0.375rem;',
3232
"Apply a medium border radius to all corners of an element.",
3333
],
3434
[
3535
'.rounded-lg',
36-
'border-radius: .5rem;',
36+
'border-radius: 0.5rem;',
3737
"Apply a large border radius to all corners of an element.",
3838
],
3939
[
@@ -63,62 +63,82 @@ features:
6363
],
6464
[
6565
'.rounded-t-sm',
66-
"border-top-left-radius: .125rem;\nborder-top-right-radius: .125rem;",
66+
"border-top-left-radius: 0.125rem;\nborder-top-right-radius: 0.125rem;",
6767
"Apply a small border radius to the top corners of an element.",
6868
],
6969
[
7070
'.rounded-r-sm',
71-
"border-top-right-radius: .125rem;\nborder-bottom-right-radius: .125rem;",
71+
"border-top-right-radius: 0.125rem;\nborder-bottom-right-radius: 0.125rem;",
7272
"Apply a small border radius to the right corners of an element.",
7373
],
7474
[
7575
'.rounded-b-sm',
76-
"border-bottom-right-radius: .125rem;\nborder-bottom-left-radius: .125rem;",
76+
"border-bottom-right-radius: 0.125rem;\nborder-bottom-left-radius: 0.125rem;",
7777
"Apply a small border radius to the bottom corners of an element.",
7878
],
7979
[
8080
'.rounded-l-sm',
81-
"border-top-left-radius: .125rem;\nborder-bottom-left-radius: .125rem;",
81+
"border-top-left-radius: 0.125rem;\nborder-bottom-left-radius: 0.125rem;",
8282
"Apply a small border radius to the left corners of an element.",
8383
],
8484
[
8585
'.rounded-t',
86-
"border-top-left-radius: .25rem;\nborder-top-right-radius: .25rem;",
86+
"border-top-left-radius: 0.25rem;\nborder-top-right-radius: 0.25rem;",
8787
"Apply the default border radius to the top corners of an element.",
8888
],
8989
[
9090
'.rounded-r',
91-
"border-top-right-radius: .25rem;\nborder-bottom-right-radius: .25rem;",
91+
"border-top-right-radius: 0.25rem;\nborder-bottom-right-radius: 0.25rem;",
9292
"Apply the default border radius to the right corners of an element.",
9393
],
9494
[
9595
'.rounded-b',
96-
"border-bottom-right-radius: .25rem;\nborder-bottom-left-radius: .25rem;",
96+
"border-bottom-right-radius: 0.25rem;\nborder-bottom-left-radius: 0.25rem;",
9797
"Apply the default border radius to the bottom corners of an element.",
9898
],
9999
[
100100
'.rounded-l',
101-
"border-top-left-radius: .25rem;\nborder-bottom-left-radius: .25rem;",
101+
"border-top-left-radius: 0.25rem;\nborder-bottom-left-radius: 0.25rem;",
102102
"Apply the default border radius to the left corners of an element.",
103103
],
104+
[
105+
'.rounded-t-md',
106+
"border-top-left-radius: 0.375rem;\nborder-top-right-radius: 0.375rem;",
107+
"Apply a medium border radius to the top corners of an element.",
108+
],
109+
[
110+
'.rounded-r-md',
111+
"border-top-right-radius: 0.375rem;\nborder-bottom-right-radius: 0.375rem;",
112+
"Apply a medium border radius to the right corners of an element.",
113+
],
114+
[
115+
'.rounded-b-md',
116+
"border-bottom-right-radius: 0.375rem;\nborder-bottom-left-radius: 0.375rem;",
117+
"Apply a medium border radius to the bottom corners of an element.",
118+
],
119+
[
120+
'.rounded-l-md',
121+
"border-top-left-radius: 0.375rem;\nborder-bottom-left-radius: 0.375rem;",
122+
"Apply a medium border radius to the left corners of an element.",
123+
],
104124
[
105125
'.rounded-t-lg',
106-
"border-top-left-radius: .5rem;\nborder-top-right-radius: .5rem;",
126+
"border-top-left-radius: 0.5rem;\nborder-top-right-radius: 0.5rem;",
107127
"Apply a large border radius to the top corners of an element.",
108128
],
109129
[
110130
'.rounded-r-lg',
111-
"border-top-right-radius: .5rem;\nborder-bottom-right-radius: .5rem;",
131+
"border-top-right-radius: 0.5rem;\nborder-bottom-right-radius: 0.5rem;",
112132
"Apply a large border radius to the right corners of an element.",
113133
],
114134
[
115135
'.rounded-b-lg',
116-
"border-bottom-right-radius: .5rem;\nborder-bottom-left-radius: .5rem;",
136+
"border-bottom-right-radius: 0.5rem;\nborder-bottom-left-radius: 0.5rem;",
117137
"Apply a large border radius to the bottom corners of an element.",
118138
],
119139
[
120140
'.rounded-l-lg',
121-
"border-top-left-radius: .5rem;\nborder-bottom-left-radius: .5rem;",
141+
"border-top-left-radius: 0.5rem;\nborder-bottom-left-radius: 0.5rem;",
122142
"Apply a large border radius to the left corners of an element.",
123143
],
124144
[
@@ -163,62 +183,82 @@ features:
163183
],
164184
[
165185
'.rounded-tl-sm',
166-
'border-top-left-radius: .125rem;',
186+
'border-top-left-radius: 0.125rem;',
167187
"Apply a small border radius to the top left corner of an element.",
168188
],
169189
[
170190
'.rounded-tr-sm',
171-
'border-top-right-radius: .125rem;',
191+
'border-top-right-radius: 0.125rem;',
172192
"Apply a small border radius to the top right corner of an element.",
173193
],
174194
[
175195
'.rounded-br-sm',
176-
'border-bottom-right-radius: .125rem;',
196+
'border-bottom-right-radius: 0.125rem;',
177197
"Apply a small border radius to the bottom right corner of an element.",
178198
],
179199
[
180200
'.rounded-bl-sm',
181-
'border-bottom-left-radius: .125rem;',
201+
'border-bottom-left-radius: 0.125rem;',
182202
"Apply a small border radius to the bottom left corner of an element.",
183203
],
184204
[
185205
'.rounded-tl',
186-
'border-top-left-radius: .25rem;',
206+
'border-top-left-radius: 0.25rem;',
187207
"Apply the default border radius to the top left corner of an element.",
188208
],
189209
[
190210
'.rounded-tr',
191-
'border-top-right-radius: .25rem;',
211+
'border-top-right-radius: 0.25rem;',
192212
"Apply the default border radius to the top right corner of an element.",
193213
],
194214
[
195215
'.rounded-br',
196-
'border-bottom-right-radius: .25rem;',
216+
'border-bottom-right-radius: 0.25rem;',
197217
"Apply the default border radius to the bottom right corner of an element.",
198218
],
199219
[
200220
'.rounded-bl',
201-
'border-bottom-left-radius: .25rem;',
221+
'border-bottom-left-radius: 0.25rem;',
202222
"Apply the default border radius to the bottom left corner of an element.",
203223
],
224+
[
225+
'.rounded-tl-md',
226+
'border-top-left-radius: 0.375rem;',
227+
"Apply a medium border radius to the top left corner of an element.",
228+
],
229+
[
230+
'.rounded-tr-md',
231+
'border-top-right-radius: 0.375rem;',
232+
"Apply a medium border radius to the top right corner of an element.",
233+
],
234+
[
235+
'.rounded-br-md',
236+
'border-bottom-right-radius: 0.375rem;',
237+
"Apply a medium border radius to the bottom right corner of an element.",
238+
],
239+
[
240+
'.rounded-bl-md',
241+
'border-bottom-left-radius: 0.375rem;',
242+
"Apply a medium border radius to the bottom left corner of an element.",
243+
],
204244
[
205245
'.rounded-tl-lg',
206-
'border-top-left-radius: .5rem;',
246+
'border-top-left-radius: 0.5rem;',
207247
"Apply a large border radius to the top left corner of an element.",
208248
],
209249
[
210250
'.rounded-tr-lg',
211-
'border-top-right-radius: .5rem;',
251+
'border-top-right-radius: 0.5rem;',
212252
"Apply a large border radius to the top right corner of an element.",
213253
],
214254
[
215255
'.rounded-br-lg',
216-
'border-bottom-right-radius: .5rem;',
256+
'border-bottom-right-radius: 0.5rem;',
217257
"Apply a large border radius to the bottom right corner of an element.",
218258
],
219259
[
220260
'.rounded-bl-lg',
221-
'border-bottom-left-radius: .5rem;',
261+
'border-bottom-left-radius: 0.5rem;',
222262
"Apply a large border radius to the bottom left corner of an element.",
223263
],
224264
[
@@ -369,10 +409,11 @@ By default Tailwind provides five border radius size utilities. You can change,
369409

370410
@component('_partials.customized-config', ['key' => 'theme.borderRadius'])
371411
'none': '0',
372-
- 'sm': '.125rem',
373-
- default: '.25rem',
412+
- 'sm': '0.125rem',
413+
- default: '0.25rem',
374414
+ default: '4px',
375-
- 'lg': '.5rem',
415+
- 'md': '0.375rem',
416+
- 'lg': '0.5rem',
376417
- 'full': '9999px',
377418
+ 'large': '12px',
378419
@endcomponent

0 commit comments

Comments
 (0)