Skip to content

Commit a91007c

Browse files
authored
Merge branch 'main' into translate-web-component
2 parents 6a539ca + 44ccb08 commit a91007c

20 files changed

Lines changed: 120 additions & 90 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## Unreleased
88

9+
## Fixed
10+
11+
- Styling issue preventing scrolling in the sidebar (#1216)
12+
- Styling issue on status bar on mobile (#1217)
13+
- Change tab `block-size` to `min-block-size` to allow for height increase when text wraps (#1219)
14+
- Changed `SkulptRunner.jsx` implementation of hiding elements to use `display: none` rather than `block-size: 0` (#1219)
15+
- 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+
- Added missing translation strings (#1222)
18+
19+
## Changed
20+
21+
- Improved status bar styling (#1221)
22+
923
## [0.30.1] - 2025-06-09
1024

1125
### Added
12-
26+
1327
- Fake translation for stress testing (#1206)
1428

1529
### Changed

src/assets/icons/cloud_tick.svg

Lines changed: 1 addition & 14 deletions
Loading

src/assets/icons/cloud_upload.svg

Lines changed: 1 addition & 10 deletions
Loading

src/assets/stylesheets/InternalStyles.scss

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,28 @@
5858
display: flex;
5959
flex-flow: column;
6060
block-size: 100%;
61+
hyphens: auto;
62+
hyphenate-limit-chars: 10 4 4; // Minimum of 10 characters before hyphenating, minimum of 4 character before and after the hyphen.
6163

6264
.proj {
6365
min-block-size: 100%;
6466
}
67+
68+
code,
69+
var,
70+
kbd,
71+
samp,
72+
tt,
73+
dir,
74+
listing,
75+
plaintext,
76+
xmp,
77+
abbr,
78+
acronym,
79+
blockquote,
80+
q {
81+
hyphens: none;
82+
}
6583
}
6684

6785
code {
@@ -91,7 +109,6 @@ button:focus-visible {
91109
}
92110
}
93111

94-
95112
.--light {
96113
--editor-color-layer-1: #{$rpf-teal-100};
97114
--editor-color-layer-2: #{$rpf-white};
@@ -120,5 +137,6 @@ button:focus-visible {
120137
--editor-color-tab-background: #{$rpf-grey-700};
121138

122139
.rpf-button--secondary {
123-
border-color: $rpf-navy-800;}
140+
border-color: $rpf-navy-800;
141+
}
124142
}

src/assets/stylesheets/MobileProjectBar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
background-color: $rpf-white;
88
border-block-start: 1px solid $rpf-grey-150;
99
display: flex;
10-
block-size: 25px;
1110
justify-content: space-between;
12-
padding: 0 $space-0-5;
11+
padding: $space-0-5;
12+
gap: var(--space-1);
1313
}
1414

1515
.mobile-project-bar__name {

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/ProjectsPanel.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
@use "./rpf_design_system/font-size" as *;
44

55
.projects-panel-wrapper {
6-
.sidebar__panel-content {
7-
overflow: visible;
8-
}
9-
106
.projects-panel__your-projects-button {
117
display: flex;
128
align-items: center;

src/assets/stylesheets/SaveStatus.scss

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,29 @@
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: $space-1;
11+
padding-inline: var(--space-2);
1212
}
1313

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

1719
.save-status__text {
18-
@include font-size-1(regular);
20+
@include font-size-0-75(regular);
21+
}
22+
23+
.save-status__icon {
24+
inline-size: 16px;
25+
block-size: 16px;
26+
27+
svg {
28+
width: 100%;
29+
height: 100%;
30+
}
1931
}
2032
}
2133

src/assets/stylesheets/Sidebar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
display: flex;
102102
flex-direction: column;
103103
padding: $space-1;
104+
padding-block-end: 0;
104105
border-radius: 0 8px 8px 0;
105106
inline-size: inherit;
106107
background: var(--sidebar-panel-background);
@@ -126,9 +127,8 @@
126127
.sidebar__panel-content {
127128
flex: 1;
128129
padding: $space-1 0;
129-
overflow-y: scroll;
130+
overflow-y: auto;
130131
scrollbar-width: thin;
131-
overflow: auto;
132132
}
133133

134134
.sidebar__panel-footer {

src/assets/stylesheets/Tabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
margin: 0;
2020
inset-block-start: 0;
2121
inset-block-end: 0;
22-
block-size: $space-3;
22+
min-block-size: var(--min-target-size);
2323
box-sizing: border-box;
2424
display: flex;
2525
align-items: center;

0 commit comments

Comments
 (0)