Skip to content

Commit 59423aa

Browse files
zonetecdeosamasayed
authored andcommitted
QF-2998 - Fixed line height of Answer text (#2532)
Fixed line height
1 parent 4a55168 commit 59423aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/MarkdownEditor/MarkdownEditor.module.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.editor {
22
p {
33
font-size: var(--font-size-large);
4+
line-height: 160%;
45
}
56
// min-height: calc(var(--spacing-mega) * 10);
67
em,
@@ -35,7 +36,7 @@
3536
hr {
3637
margin: var(--spacing-medium) 0;
3738
border: none;
38-
border-top: 2px solid var(--color-background-inverse);
39+
border-block-start: 2px solid var(--color-background-inverse);
3940
}
4041
blockquote {
4142
background-color: var(--color-success-faint);
@@ -79,12 +80,12 @@
7980
img {
8081
display: block;
8182
margin: auto;
82-
max-width: 100%;
83+
max-inline-size: 100%;
8384
}
8485
iframe {
8586
display: block; // Makes iframe a block element, ensuring it's on a new line
8687
margin: var(--spacing-medium) auto; // Centers the iframe and adds vertical spacing
87-
max-width: 100%;
88+
max-inline-size: 100%;
8889
}
8990
}
9091
.content {

0 commit comments

Comments
 (0)