mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-14 14:00:30 +08:00
fix(connection-table): set boxSizing to border-box for header and cells
Closes #5611
This commit is contained in:
parent
affdfc045e
commit
cbd8c89097
@ -526,6 +526,7 @@ export const ConnectionTable = (props: Props) => {
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
position: "relative",
|
||||
boxSizing: "border-box",
|
||||
px: 1,
|
||||
py: 1,
|
||||
fontSize: 13,
|
||||
@ -627,6 +628,7 @@ export const ConnectionTable = (props: Props) => {
|
||||
flex: `0 0 ${cell.column.getSize()}px`,
|
||||
minWidth: cell.column.columnDef.minSize || 80,
|
||||
maxWidth: cell.column.columnDef.maxSize,
|
||||
boxSizing: "border-box",
|
||||
px: 1,
|
||||
fontSize: 13,
|
||||
display: "flex",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user