Skip to content

Commit

Permalink
fix: add clearfix
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Sep 4, 2024
1 parent 504a460 commit 26b6c1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
color: var(--tui-text-01);
font: var(--tui-font-text-m);

&::after {
content: '';
clear: both;
display: table;
}

&[tuiTiptapEditor] {
overflow: hidden;
}
Expand Down
6 changes: 6 additions & 0 deletions projects/tui-editor/components/editor/editor.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
min-height: 10rem;
box-sizing: border-box;
overflow: clip;

&::after {
content: '';
clear: both;
display: table;
}
}

.t-wrapper {
Expand Down

0 comments on commit 26b6c1c

Please sign in to comment.