Fix wave logo size and anchor alignments in Storybook (#883)

This commit is contained in:
Evan Simkowitz 2024-09-26 19:24:12 -07:00 committed by GitHub
parent 6442eaeb3f
commit ba7b0b7019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View File

@ -1,2 +1,8 @@
<link rel="shortcut icon" href="/assets/waveterm-logo-with-bg.ico" /> <link rel="shortcut icon" href="/assets/waveterm-logo-with-bg.ico" />
<link rel="icon" type="image/png" href="/assets/waveterm-logo-with-bg.png" sizes="250x250" /> <link rel="icon" type="image/png" href="/assets/waveterm-logo-with-bg.png" sizes="250x250" />
<style>
.sidebar-header img {
max-width: 150px !important;
max-height: 100px !important;
}
</style>

View File

@ -3,3 +3,13 @@
<link rel="stylesheet" href="/fontawesome/css/solid.min.css" /> <link rel="stylesheet" href="/fontawesome/css/solid.min.css" />
<link rel="stylesheet" href="/fontawesome/css/sharp-solid.min.css" /> <link rel="stylesheet" href="/fontawesome/css/sharp-solid.min.css" />
<link rel="stylesheet" href="/fontawesome/css/sharp-regular.min.css" /> <link rel="stylesheet" href="/fontawesome/css/sharp-regular.min.css" />
<style>
#storybook-docs {
[id^="anchor--"],
#stories {
a {
margin-left: -24px !important;
}
}
}
</style>