Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Proper fake panel position for balloon with se or sw class.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkonopka authored and Reinmar committed Jun 5, 2019
1 parent f1a12a9 commit 7b2d4ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion theme/ckeditor5-ui/components/panel/fakepanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
}

/* If balloon is positioned above element, we need to move fake panel to the top. */
.ck .ck-balloon-panel_arrow_s + .ck-fake-panel {
.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,
.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,
.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {
--ck-balloon-fake-panel-offset-vertical: -6px;
}

0 comments on commit 7b2d4ce

Please sign in to comment.