mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
parent
4c5d8cd1ed
commit
9c1b0c1278
2 changed files with 6 additions and 1 deletions
|
@ -33,6 +33,11 @@ html[theme="g90"] .code-override {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Addig this to the layout grid fixes overstretching. */
|
||||||
|
.fix-overflow {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.token.tag,
|
.token.tag,
|
||||||
.token.operator {
|
.token.operator {
|
||||||
color: #6ea6ff;
|
color: #6ea6ff;
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Content data-components>
|
<Content data-components>
|
||||||
<Grid>
|
<Grid class="fix-overflow">
|
||||||
<Row>
|
<Row>
|
||||||
<Column>
|
<Column>
|
||||||
<h1>{component}</h1>
|
<h1>{component}</h1>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue