fix(editor): some UI bugs of table block (#9987)

close: BS-2507, BS-2508, BS-2511, BS-2519, BS-2523
This commit is contained in:
zzj3720
2025-02-06 15:42:05 +00:00
parent 7c7febd495
commit 1652e6df6b
4 changed files with 41 additions and 19 deletions
@@ -4,10 +4,10 @@ import { style } from '@vanilla-extract/css';
export const addColumnButtonStyle = style({
cursor: 'col-resize',
backgroundColor: cssVarV2.layer.background.hoverOverlay,
fontSize: '10px',
fontSize: '16px',
color: cssVarV2.icon.secondary,
display: 'flex',
width: '12px',
width: '16px',
justifyContent: 'center',
alignItems: 'center',
position: 'absolute',
@@ -30,10 +30,10 @@ export const addColumnButtonStyle = style({
export const addRowButtonStyle = style({
cursor: 'row-resize',
backgroundColor: cssVarV2.layer.background.hoverOverlay,
fontSize: '10px',
fontSize: '16px',
color: cssVarV2.icon.secondary,
display: 'flex',
height: '12px',
height: '16px',
alignItems: 'center',
justifyContent: 'center',
position: 'absolute',
@@ -56,11 +56,11 @@ export const addRowButtonStyle = style({
export const addRowColumnButtonStyle = style({
cursor: 'nwse-resize',
backgroundColor: cssVarV2.layer.background.hoverOverlay,
fontSize: '10px',
fontSize: '16px',
color: cssVarV2.icon.secondary,
display: 'flex',
width: '12px',
height: '12px',
width: '16px',
height: '16px',
justifyContent: 'center',
alignItems: 'center',
position: 'absolute',