Skip to content

Commit f50bb9b

Browse files
committed
Redoc: Fix issue with redocly not going under header
1 parent ca6b428 commit f50bb9b

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

assets/css/v2/style.css

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ textarea:not([rows]) {
131131
:root {
132132
/* webfonts */
133133
font-family: var(--font-family);
134-
font-feature-settings:
135-
"liga" on,
136-
"calt" on;
134+
font-feature-settings: "liga" on, "calt" on;
137135

138136
/* fallback to slightly thinner font on browsers without variable 'wght' support */
139137
font-weight: 350;
@@ -143,9 +141,9 @@ textarea:not([rows]) {
143141

144142
/* MARK: Variables
145143
*/
146-
--font-family:
147-
"Inter var", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
148-
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
144+
--font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
145+
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
146+
sans-serif;
149147
--color-brand: 56.6% 0.194 147.7;
150148
--color-brand-300: 0.84 0.0699 157.51;
151149
--color-brand-200: 0.91 0.0406 157.72;
@@ -271,10 +269,9 @@ textarea:not([rows]) {
271269

272270
@supports (font-variation-settings: normal) {
273271
:root {
274-
--font-family:
275-
InterVariable, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
276-
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
277-
sans-serif;
272+
--font-family: InterVariable, system-ui, -apple-system, BlinkMacSystemFont,
273+
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
274+
"Helvetica Neue", sans-serif;
278275
}
279276

280277
h1,
@@ -921,6 +918,8 @@ nav {
921918
max-width: 100%;
922919

923920
#api-component {
921+
z-index: 0;
922+
position: relative;
924923
display: block;
925924
max-width: 100%;
926925
}
@@ -1243,9 +1242,7 @@ nav.sidebar.sidebar__mobile-open {
12431242
border-radius: 5px 0 0 5px;
12441243
color: oklch(0 0 0 / 0.75);
12451244
text-decoration: none;
1246-
transition:
1247-
background-color 0.2s ease,
1248-
color 0.2s ease;
1245+
transition: background-color 0.2s ease, color 0.2s ease;
12491246

12501247
&:hover {
12511248
background-color: oklch(var(--color-brand) / 0.08);

0 commit comments

Comments
 (0)