Skip to content

Commit 151b3ff

Browse files
committed
fixed compilation, styling tweaks
1 parent 897f9b7 commit 151b3ff

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

components/navbar/ScreenplayFormatDropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const ScreenplayFormatDropdown = () => {
4242
[ScreenplayElement.Section]: t("elements.section"),
4343
[ScreenplayElement.Note]: t("elements.note"),
4444
[ScreenplayElement.None]: t("elements.none"),
45+
[ScreenplayElement.DualDialogue]: t("elements.dialogue"),
4546
};
4647

4748
const TITLEPAGE_ELEMENT_LABELS: Record<TitlePageElement, string> = {

components/project/ProjectWorkspace.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
}
1818

1919
.right_sidebar_toggle {
20-
flex-shrink: 0;
21-
align-self: flex-start;
22-
margin-top: 8px;
20+
position: absolute;
21+
top: 8px;
22+
right: 30px;
2323
z-index: 5;
2424
width: 20px;
2525
height: 36px;

components/project/ProjectWorkspace.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ const ProjectWorkspace = () => {
3939
suggestionData={suggestionData}
4040
updateSuggestionData={updateSuggestionData}
4141
/>
42-
</div>
4342

44-
{/* Right sidebar toggle */}
45-
<div className={styles.right_sidebar_toggle} onClick={() => setRightSidebarOpen((prev) => !prev)}>
46-
{rightSidebarOpen ? <ChevronRight size={14} /> : <ChevronLeft size={14} />}
43+
{/* Right sidebar toggle */}
44+
<div className={styles.right_sidebar_toggle} onClick={() => setRightSidebarOpen((prev) => !prev)}>
45+
{rightSidebarOpen ? <ChevronRight size={14} /> : <ChevronLeft size={14} />}
46+
</div>
4747
</div>
4848

4949
{/* Right sidebar */}

0 commit comments

Comments
 (0)