Skip to content

Commit

Permalink
Merge pull request #371 from amplimindcc/370-change-lineheight-editor
Browse files Browse the repository at this point in the history
add line height
  • Loading branch information
cwsyth authored Jun 13, 2024
2 parents 5d8c06c + fb6f521 commit 2693cd2
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.password-strength-meter {
display: flex;
flex-direction: column;
margin-top: 7px;
margin-top: 12px;
margin-bottom: 5px;
}

.password-strength-meter-progress {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.password-strength-meter {
display: flex;
flex-direction: column;
margin-top: 7px;
margin-top: 12px;
margin-bottom: 5px;
}

.password-strength-meter-progress {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/Admin/components/Challenges/Challenges.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@
margin: 10px 0 10px 0;
text-align: left;
background-color: lightgray;
padding: 0px 10px 0px 10px;
padding: 12px;
border-radius: 8px;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
line-height: 1.25;
}

.editor {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/Admin/components/Challenges/Challenges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@
margin: 10px 0 10px 0;
text-align: left;
background-color: lightgray;
padding: 0px 10px 0px 10px;
padding: 12px;
border-radius: 8px;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.18);
line-height: 1.25;
}

.editor {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Admin/components/Challenges/Challenges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export default function Challenges() {
'bold italic forecolor | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
'removeformat | help',
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px}',
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px; line-height: 1.25;}',
branding: false
}}
/>
Expand Down
1 change: 1 addition & 0 deletions src/pages/Commit/Commit.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@
p.description {
white-space: pre-line;
background-color: #03213b;
line-height: 0.5;
}
Expand Down
1 change: 1 addition & 0 deletions src/pages/Commit/Commit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@
p.description {
white-space: pre-line;
background-color: $amplimind-background-dark-blue;
line-height: 0.5;
}
6 changes: 3 additions & 3 deletions src/pages/Invite/Invite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,6 @@ const Invite = () => {
onChange={handleChange}
/>
</div>
<PasswordStrengthMeter
password={inputValues.password}
/>
<Error text={errors.password.text} />
</div>
<div className="input-wrapper">
Expand All @@ -306,6 +303,9 @@ const Invite = () => {
/>
</div>
<Error text={errors.passwordRepeat.text} />
<PasswordStrengthMeter
password={inputValues.password}
/>
</div>
<div className="invite-button">
<Button
Expand Down

0 comments on commit 2693cd2

Please sign in to comment.