Skip to content

Commit 66eac0f

Browse files
committed
[css-backgrounds-4] Fix figure for corner-shape
1 parent ed512e0 commit 66eac0f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-backgrounds-4/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ Corner Shaping: the 'corner-shape' property</h3>
283283
</pre>
284284
<div style='font: bold 200%/1 sans-serif;
285285
width: 2.3em;
286+
width: min-content;
287+
white-space: nowrap;
286288
padding: .5em 1em .5em .5em;
287289
border-radius: .3em 0 0 .3em;
288290
background: url(&apos;data:image/svg+xml,\
@@ -295,7 +297,9 @@ Corner Shaping: the 'corner-shape' property</h3>
295297
the right side would be rounded rather than pointy:
296298
<div style='font: bold 200%/1 sans-serif;
297299
width: 2.3em;
298-
padding: .5em 1em .5em .5em;
300+
width: min-content;
301+
white-space: nowrap;
302+
padding: .5em 1em .5em .5em;
299303
border-radius: .3em .8em .8em .3em / .3em 50% 50% .3em;
300304
background: yellowgreen'>
301305
Next

0 commit comments

Comments
 (0)