Skip to content
Open
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
2 changes: 1 addition & 1 deletion media/editor/dataDisplay.css
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@
}

.data-cell-char {
width: calc(var(--cell-size) * 0.7) !important;
width: calc(var(--cell-size) * 0.5) !important;
}
3 changes: 2 additions & 1 deletion media/editor/dataDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ const Byte: React.FC<{ value: number }> = ({ value }) => (

// Byte cells are square, and show two (hex) characters, but text cells show a
// single character so can be narrower--by this constant multiplier.
const textCellWidth = 0.7;
// (must match value at dataDisplay.css#.data-cell-char)
const textCellWidth = 0.5;

const DataCellGroup: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({ children, ...props }) => (
<div className={style.dataCellGroup} {...props}>
Expand Down