mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
@@ -222,6 +222,8 @@ export const SplitViewPanel = memo(function SplitViewPanel({
|
||||
return (
|
||||
<SplitViewPanelContainer
|
||||
style={style}
|
||||
data-is-resizing={!!resizingView}
|
||||
data-is-reordering={!!draggingView}
|
||||
data-is-dragging={dragging}
|
||||
data-is-active={isActive && views.length > 1}
|
||||
data-is-first={isFirst}
|
||||
|
||||
@@ -37,6 +37,12 @@ export const splitViewPanel = style({
|
||||
display: 'flex',
|
||||
|
||||
selectors: {
|
||||
'[data-is-resizing="true"]&': {
|
||||
transition: 'none',
|
||||
},
|
||||
'[data-is-reordering="true"]&': {
|
||||
flexGrow: 1,
|
||||
},
|
||||
'[data-client-border="false"] &[data-is-first="true"]': {
|
||||
borderTopLeftRadius: borderRadius,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user