Skip to content

Commit

Permalink
Merge pull request #305 from ckeditor/mermaid-toolbar-css-update
Browse files Browse the repository at this point in the history
Updated css for mermaid toolbar.
  • Loading branch information
mlewand authored Mar 8, 2022
2 parents 3a52e1f + 0e0d6ec commit 95d5791
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/app/theme/panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,20 @@
.ck-button {
color: var(--color-fg-default) !important;
}

/* Mermaid balloon toolbar styles */
.ck.ck-balloon-panel [aria-label="Mermaid toolbar"] {
margin: 0;
}

.ck.ck-balloon-panel [aria-label="Mermaid toolbar"] .ck-button {
line-height: 1;
}

.ck.ck-balloon-panel [aria-label="Mermaid toolbar"] .ck.ck-toolbar__separator {
margin-right: var(--ck-spacing-medium);
margin-left: var(--ck-spacing-small);
width: 1px;
min-width: 1px;
background: var(--color-border-default);
}

0 comments on commit 95d5791

Please sign in to comment.