Skip to content

Commit 5c04366

Browse files
authored
fix alignment (codesandbox#3614)
1 parent 4a3692d commit 5c04366

File tree

2 files changed

+2
-0
lines changed
  • packages
    • app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments
    • components/src/components/Collapsible

2 files changed

+2
-0
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/Comments/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export const Comments: React.FC = () => {
7171
css={css({
7272
borderBottom: '1px solid',
7373
borderColor: 'sideBar.border',
74+
minHeight: '35px',
7475
})}
7576
>
7677
<Text>Comments</Text>

packages/components/src/components/Collapsible/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const Section = styled(Element).attrs({ as: 'section' })(
1414

1515
export const Header = styled(SidebarRow).attrs({ gap: 2 })(
1616
css({
17+
minHeight: '35px',
1718
paddingX: 3,
1819
borderBottom: '1px solid',
1920
// Note: sideBarSectionHeader exists but we dont use it because it is rarely implemented

0 commit comments

Comments
 (0)