Commit 612d08e8 authored by Paul Kaplan's avatar Paul Kaplan

Fix line heights for instructions and comments

parent fb4f6b6d
......@@ -199,6 +199,8 @@
}
.comment-content {
font-size: 1rem;
line-height: 1.5rem;
overflow-wrap: break-word;
}
......
......@@ -459,21 +459,6 @@ const PreviewPresentation = ({
/>
</FlexRow>
</MediaQuery>
{showModInfo &&
<React.Fragment>
<div className="project-textlabel">
<FormattedMessage id="project.moderationInfoLabel" />
</div>
<ModInfo
revisedDate={revisedDate}
scripts={modInfo.scriptCount}
sprites={modInfo.spriteCount}
/>
</React.Fragment>
}
<MediaQuery minWidth={frameless.tablet}>
<FlexRow className="preview-row">
<FlexRow className="extension-list">
......@@ -489,6 +474,15 @@ const PreviewPresentation = ({
</FlexRow>
</FlexRow>
</MediaQuery>
{showModInfo &&
<FlexRow className="preview-row">
<ModInfo
revisedDate={revisedDate}
scripts={modInfo.scriptCount}
sprites={modInfo.spriteCount}
/>
</FlexRow>
}
</div>
<div className="project-lower-container">
<div className="inner">
......
......@@ -427,7 +427,7 @@ $stage-width: 480px;
overflow: auto;
white-space: pre-line;
font-size: 1rem;
// flex-grow
line-height: 1.5rem;
flex: 1;
}
......@@ -474,6 +474,10 @@ $stage-width: 480px;
flex: 1;
}
& .inplace-textarea {
line-height: 1.5rem; /* Override 1.75 from form styling */
}
::-webkit-input-placeholder { /* Chrome <=56, Safari < 10 */
transition: opacity .25s;
opacity: 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment