Skip to content

Commit

Permalink
Increase group gap (#142)
Browse files Browse the repository at this point in the history
Gap between groups 2px -> 4px
  • Loading branch information
colin-grant-work authored Jul 9, 2024
1 parent d9c6296 commit b20f07c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion media/memory-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

.byte-group {
font-family: var(--vscode-editor-font-family);
margin-right: 2px;
margin-right: 4px;
padding: 0 1px; /* we use this padding to balance out the 2px that are needed for the editing */
}

Expand Down
4 changes: 2 additions & 2 deletions src/webview/columns/data-column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ export class EditableDataColumnRow extends React.Component<EditableDataColumnRow

export namespace DataColumn {
export namespace Styles {
// `margin-right: 2px` per group (see memory-table.css)
export const MARGIN_RIGHT_PX = 2;
// `margin-right: 4px` per group (see memory-table.css)
export const MARGIN_RIGHT_PX = 4;
// `padding: 0 1px` applies 1px right and left per group (see memory-table.css)
export const PADDING_RIGHT_LEFT_PX = 2;
}
Expand Down

0 comments on commit b20f07c

Please sign in to comment.