Skip to content

Commit 018a5b0

Browse files
authored
fix: login to save button overflow (#1221)
- Removed fixed ProjectBar height to allow button it to grow if needed - Centre aligned buttons - Tweak save status space for better aesthetics when wrapping (and in general)
1 parent b7f0107 commit 018a5b0

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313
- Change tab `block-size` to `min-block-size` to allow for height increase when text wraps (#1219)
1414
- Changed `SkulptRunner.jsx` implementation of hiding elements to use `display: none` rather than `block-size: 0` (#1219)
1515
- Enabled `hyphens: auto` globally (with exceptions) to prevent overflow with longer words (#1215)
16+
- Removed fixed size from `ProjectBar` to prevent overflow when text wraps (#1221)
17+
18+
## Changed
19+
20+
- Improved status bar styling (#1221)
1621

1722
## [0.30.1] - 2025-06-09
1823

src/assets/stylesheets/ProjectBar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
display: flex;
77
align-items: center;
88
z-index: 1;
9-
block-size: $space-4;
109
container-type: inline-size;
1110
background-color: var(--editor-color-layer-3);
1211
border: 1px solid var(--editor-color-outline);
@@ -39,6 +38,7 @@
3938
}
4039

4140
.project-bar__btn-wrapper {
41+
display: flex;
4242
block-size: 100%;
4343
}
4444

src/assets/stylesheets/SaveStatus.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
.save-status {
66
align-items: center;
77
display: flex;
8-
gap: $space-0-25;
8+
gap: var(--space-1);
99
justify-content: flex-end;
1010
margin-block: 0;
11-
padding-inline: var(--space-1);
11+
padding-inline: var(--space-2);
1212
}
1313

1414
.save-status--mobile {
1515
margin: unset;
1616
padding-inline: 0;
17+
gap: var(--space-0-5);
1718

1819
.save-status__text {
1920
@include font-size-0-75(regular);

0 commit comments

Comments
 (0)