Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): right sidebar's content is not centered when clientBorder enabled #7034

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(core): right sidebar's content is not centered when clientBorder …
  • Loading branch information
CatsJuice committed May 23, 2024
commit d066da3e8a8b7a72c5e1bafb75111d808ac8b5c3
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const root = style({
flex: 1,
width: '100%',
height: '100%',
minWidth: '320px',
overflow: 'hidden',
alignItems: 'center',
borderTop: `1px solid ${cssVar('borderColor')}`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,5 @@ export const sidebarContainer = style({
export const sidebarBodyTarget = style({
flex: 1,
width: '100%',
minWidth: '320px',
overflow: 'hidden',
selectors: {
[`&[data-client-border=true]`]: {
paddingLeft: 9,
},
[`&[data-client-border=false]`]: {
borderLeft: `1px solid ${cssVar('borderColor')}`,
},
},
});
Loading