Skip to content

Commit 8382527

Browse files
authored
docs: resolve firefox svg clipping for logo on 404 page (#3410)
* docs: resolve firefox svg clipping for logo on 404 page * docs: resolve clipped logo in storybook sidebar in firefox
1 parent 519e38e commit 8382527

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.storybook/assets/404.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
svg {
7474
block-size: auto;
7575
inline-size: 100%;
76-
max-inline-size: 150px;
76+
max-inline-size: 170px;
7777
max-block-size: 100px;
7878
}
7979

@@ -88,9 +88,7 @@
8888
<polygon points="11.1,0 0,0 0,26"/>
8989
<polygon points="15,9.6 22.1,26 17.5,26 15.4,20.8 10.2,20.8"/>
9090
</g>
91-
<text x="38" y="20" style="color: rgb(0,0,0);font-size: 22px;font-family: adobe-clean,'Source Sans Pro',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Trebuchet MS','Lucida Grande',sans-serif; font-weight: 700; height: 28px; line-height: 28.6px;">
92-
Spectrum CSS
93-
</text>
91+
<text x="38" y="20" style="color: rgb(0,0,0);font-size: 22px;font-family: adobe-clean,'Source Sans Pro',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Trebuchet MS','Lucida Grande',sans-serif; font-weight: 700; height: 28px; line-height: 28.6px;">Spectrum CSS</text>
9492
</svg>
9593
</a>
9694
</header>

.storybook/assets/logo.svg

Lines changed: 1 addition & 4 deletions
Loading

0 commit comments

Comments
 (0)