Skip to content

Commit

Permalink
fix: 🐛[bug] Comment length out of the preview box
Browse files Browse the repository at this point in the history
  • Loading branch information
Lete114 committed Sep 17, 2021
1 parent 093ba28 commit fdab120
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions packages/client/src/styles/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,13 @@
}

.vcontent {
line-height: 2;
position: relative;

margin-bottom: 0.75em;
padding-top: 0.625em;

font-size: 0.875em;
line-height: 2;
word-wrap: break-word;
word-break: break-all;


&.expand {
overflow: hidden;
max-height: 8em;
Expand Down
3 changes: 2 additions & 1 deletion packages/client/src/styles/panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,11 @@
}

.vcontent {
min-height: 1.25em;
padding: 0.25em;
min-height: 1.25em;
border: var(--waline-border);
border-radius: 0.25em;
word-break: break-word;

> *:first-child {
margin-top: 0;
Expand Down

0 comments on commit fdab120

Please sign in to comment.