From f74dd664ac7b29da151dc445ee9020fd0fe87dda Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 4 Sep 2024 15:56:52 +0300 Subject: [PATCH] fix: add clearfix --- .../components/editor-socket/editor-socket.component.less | 6 ++++++ projects/editor/src/components/editor/editor.component.less | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/projects/editor/src/components/editor-socket/editor-socket.component.less b/projects/editor/src/components/editor-socket/editor-socket.component.less index 6f0d019a4..3505c72a6 100644 --- a/projects/editor/src/components/editor-socket/editor-socket.component.less +++ b/projects/editor/src/components/editor-socket/editor-socket.component.less @@ -4,6 +4,12 @@ color: var(--tui-text-primary); font: var(--tui-font-text-m); + &::after { + content: ''; + clear: both; + display: table; + } + &[tuiTiptapEditor] { overflow: hidden; } diff --git a/projects/editor/src/components/editor/editor.component.less b/projects/editor/src/components/editor/editor.component.less index 4dcc12557..7dfec3c66 100644 --- a/projects/editor/src/components/editor/editor.component.less +++ b/projects/editor/src/components/editor/editor.component.less @@ -11,6 +11,12 @@ min-block-size: 10rem; box-sizing: border-box; overflow: visible; + + &::after { + content: ''; + clear: both; + display: table; + } } .t-wrapper {