Skip to content

Commit

Permalink
style(editor): popover correct in fixed items
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Nov 14, 2021
1 parent 2103e47 commit 7ccc4a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/editor/entity/EditorEntityShowPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
props.entity.type === 'paragraph' ? 'top-0.5' : '',
props.entity.type === 'heading-two' ? 'top-12' : '',
props.entity.type === 'heading-three' ? 'top-8' : '',
props.entity.type === 'line-break' ? '-top-0.5' : '',
props.entity.type === 'page-break' ? '-top-0.5' : '',
]"
>
<section
Expand Down Expand Up @@ -277,8 +279,8 @@
props.entity.type === 'heading-two' ? 'text-center pb-3' : '',
props.entity.type === 'heading-three' ? 'text-center pb-3' : '',
props.entity.type === 'page-break' ? 'pt-2' : '',
props.entity.type === 'line-break' ? 'pt-2' : '',
props.entity.type === 'page-break' ? '-top-0.5' : '',
props.entity.type === 'line-break' ? '-top-0.5' : '',
]"
>
<p>
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/theme/inject.css
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
--theme-editor-pdf-configuration-container-background: #242222;
--theme-editor-pdf-configuration-container-background-hover: #242222;
--theme-editor-pdf-configuration-container-background-active: #242222;
--theme-editor-material-border: #fa8373;
--theme-editor-material-border: transparent;
--theme-editor-material-background: #514646;
--theme-editor-material-background-hover: #514646;
--theme-editor-material-background-active: #514646;
Expand Down

0 comments on commit 7ccc4a5

Please sign in to comment.