Skip to content

Commit

Permalink
Merge pull request #4083 from traPtitech/SSlime/fix-layout-shift
Browse files Browse the repository at this point in the history
🐛 #general などでめっちゃずれてたのを治す
  • Loading branch information
mehm8128 authored Oct 7, 2023
2 parents 01a24c9 + cf964d4 commit 972da7f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,14 @@ $mask-image: linear-gradient(
);
.markdownContainer {
&[data-expanded='false'] {
max-height: $message-max-height;
overflow: hidden;
overflow: clip;
}
&.oversized {
&[data-expanded='false'] {
max-height: $message-max-height;
overflow: hidden;
overflow: clip;
-webkit-mask-image: $mask-image;
mask-image: $mask-image;
}
Expand Down

0 comments on commit 972da7f

Please sign in to comment.