Skip to content

Commit

Permalink
Backport PR jupyterlab#1072: Reduced padding in cell around code icon…
Browse files Browse the repository at this point in the history
…s in code toolbar
  • Loading branch information
srdas authored and meeseeksmachine committed Nov 4, 2024
1 parent 62b5a0f commit d9344f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function CodeToolbar(props: CodeToolbarProps): JSX.Element {
display: 'flex',
justifyContent: 'flex-end',
alignItems: 'center',
padding: '6px 2px',
padding: '2px 2px',
marginBottom: '1em',
border: '1px solid var(--jp-cell-editor-border-color)',
borderTop: 'none'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function TooltippedIconButton(
onClick={props.onClick}
disabled={props.disabled}
sx={{
ml: '8px',
lineHeight: 0,
...(props.disabled && { opacity: 0.5 }),
...props.sx
Expand Down

0 comments on commit d9344f5

Please sign in to comment.