Skip to content

Commit

Permalink
wrap scene text (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Jan 27, 2024
1 parent f734458 commit a8b63cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/view/explorer/SceneList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
>
<div
class="scene-container{item.hidden ? ' hidden' : ''}"
style="margin-left: {item.indent * 32}px;"
style="padding-left: calc({item.indent} * var(--longform-explorer-indent-size));"
class:selected={$activeFile && $activeFile.path === item.path}
on:contextmenu|preventDefault={onContext}
data-scene-path={item.path}
Expand Down Expand Up @@ -466,7 +466,7 @@
color: var(--text-muted);
font-size: 1em;
line-height: 1.1em;
white-space: nowrap;
white-space: normal;
padding: var(--size-2-1) 0;
}
Expand Down Expand Up @@ -496,7 +496,7 @@
}
.longform-scene-number::after {
content: ":";
content: ".";
}
#longform-unknown-files-wizard {
Expand Down
3 changes: 2 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:root {
--longform-explorer-font-size: var(--font-ui-medium);
--longform-explorer-indent-size: 2em;
}

.longform-settings-user-steps {
Expand All @@ -15,4 +16,4 @@
.longform-settings-user-step-id {
margin-left: var(--size-4-2);
color: var(--text-muted);
}
}

0 comments on commit a8b63cf

Please sign in to comment.