Skip to content

Commit 7d93b1f

Browse files
authored
Refactoring sidebar panel padding to fix overflow problems with plugin (#1266)
Slight refactor to sidebar panel padding to prevent the outline getting cut off textareas in plugin sidebar panel
1 parent 194ba67 commit 7d93b1f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313
### Fixed
1414

1515
- Styling design system components used in the web component (#1263)
16+
- Sidebar panel overflow for plugins (#1266)
1617

1718
## [0.33.0] - 2025-10-15
1819

src/assets/stylesheets/Sidebar.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@
100100
.sidebar__panel {
101101
display: flex;
102102
flex-direction: column;
103-
padding: $space-1;
104-
padding-block-end: 0;
105-
position: relative;
103+
padding-block-start: $space-1;
106104
border-radius: 0 8px 8px 0;
107105
inline-size: inherit;
108106
background: var(--sidebar-panel-background);
@@ -122,12 +120,13 @@
122120
flex-direction: column;
123121
gap: $space-1;
124122
padding-block-end: $space-1;
123+
padding-inline: $space-1;
125124
border-block-end: 1px solid var(--sidebar-border);
126125
}
127126

128127
.sidebar__panel-content {
129128
flex: 1;
130-
padding: $space-1 0;
129+
padding: $space-1;
131130
overflow-y: auto;
132131
scrollbar-width: thin;
133132
}
@@ -139,6 +138,7 @@
139138
inline-size: -moz-available;
140139
inline-size: -webkit-stretch;
141140
inline-size: stretch;
141+
padding-inline: $space-1;
142142
background-color: white;
143143
border-end-end-radius: 8px;
144144
}

0 commit comments

Comments
 (0)