graphql-engine/frontend/libs/console/legacy-ce/.storybook/preview-head.html
Nicolas Inchauspe c8acf12d4f console: apply new sidebar design
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7635
GitOrigin-RevId: 5f4b24d30d39a2cf2c8eb4a0d0ccc60161389303
2023-02-15 12:38:16 +00:00

46 lines
1.2 KiB
HTML

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet"
/>
<style>
/* Fix body min-width */
body {
min-width: 0 !important;
}
/* Add collapsible sections */
details .mdx-collapsible-section {
display: flex;
}
details .mdx-collapsible-section::marker {
display: none;
}
details .mdx-collapsible-section:hover {
cursor: pointer;
}
details .mdx-collapsible-section__chevron {
margin: 0;
transform: rotate(0deg);
transition: transform 0.1s ease-out;
}
details[open] .mdx-collapsible-section__chevron {
transform: rotate(90deg);
}
details .mdx-collapsible-section__label {
margin: 0;
padding-left: 0.5rem;
}
</style>