Skip to content

Commit

Permalink
fix: make the editor headers stick only on big screens
Browse files Browse the repository at this point in the history
  • Loading branch information
danielo515 committed Apr 25, 2024
1 parent d1d76f8 commit 4193246
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/FormBuilder.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@
height: 100%;
overflow: hidden;
}
.is-mobile .body,
.body {
padding-top: 0.5rem;
overflow-y: scroll;
Expand All @@ -407,7 +408,7 @@
padding: 1rem;
}
/* on bigger screens make the headers stick */
@media (min-width: 58rem) {
@media (min-width: 100rem) {
.body {
overflow-y: hidden;
}
Expand Down
1 change: 1 addition & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ If your plugin does not need CSS, delete this file.
:root {
--mf-spacing: 0.75rem;
--mf-spacing2: 1.5rem;
--mf-tablet: 768px;
}

/* Utilities to remove styles from native obsidian elements when wrapped like this
Expand Down

0 comments on commit 4193246

Please sign in to comment.