mirror of https://github.com/logseq/logseq
fix(ui): alignment buttons for the whiteboard context menu
parent
38eeb8cc8a
commit
10d2dff91f
File diff suppressed because one or more lines are too long
|
@ -70,7 +70,7 @@ export const ContextMenu = observer(function ContextMenu({
|
|||
!app.readOnly &&
|
||||
app.selectedShapesArray?.some(s => !s.props.isLocked) && (
|
||||
<>
|
||||
<LSUI.ContextMenuItem>
|
||||
<LSUI.ContextMenuItem className={'tl-menu-button-row-wrap'}>
|
||||
<div className="tl-menu-button-row pb-0">
|
||||
<Button
|
||||
tooltip={t('whiteboard/align-left')}
|
||||
|
|
|
@ -110,8 +110,16 @@ html[data-theme='light'] {
|
|||
@apply pl-4 !important;
|
||||
}
|
||||
|
||||
.tl-menu-button-row-wrap {
|
||||
@apply flex flex-col;
|
||||
}
|
||||
|
||||
.tl-menu-button-row {
|
||||
@apply flex justify-between py-1;
|
||||
@apply flex justify-between py-1 gap-[26px] opacity-80 hover:opacity-100;
|
||||
|
||||
.ti {
|
||||
@apply text-lg;
|
||||
}
|
||||
}
|
||||
|
||||
.tl-menu {
|
||||
|
|
Loading…
Reference in New Issue