Skip to content

Commit

Permalink
fix(commonmark-editor): prevent placeholder clipping (#144)
Browse files Browse the repository at this point in the history
* fix(commonmark-editor): prevent placeholder clipping

* Update src/styles/custom-components.less

Co-authored-by: Ben Kelly <b-kelly@users.noreply.github.com>

Co-authored-by: Ben Kelly <b-kelly@users.noreply.github.com>
  • Loading branch information
dancormier and b-kelly committed Jun 27, 2022
1 parent 6cbd273 commit a3d0669
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/styles/custom-components.less
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@
& [data-placeholder] {
position: relative;

// ensures markdown placeholder wraps expectedly
&.s-code-block.markdown {
overflow: visible;
}

&::before {
color: var(--fc-light);
position: absolute;
Expand Down

0 comments on commit a3d0669

Please sign in to comment.