Skip to content

Commit

Permalink
fix: add clearfix (#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Sep 4, 2024
1 parent 7fd23e5 commit f9bb76d
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-primary);
font: var(--tui-font-text-m);

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

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

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

.t-wrapper {
Expand Down

0 comments on commit f9bb76d

Please sign in to comment.