/new form title fix font font-size (#12576)

* tooltips 1.0.1

* tooltips 1.0.1

* typography fix
This commit is contained in:
ludwiczakpawel 2021-02-04 18:26:08 +01:00 committed by GitHub
parent dfdb37971c
commit a6fd2be9d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -112,7 +112,7 @@ body {
}
h1 {
font-size: 2em;
font-size: 1.75em;
}
h2 {

View file

@ -18,7 +18,7 @@ export const Title = ({ onChange, defaultValue, switchHelpContext }) => {
className="crayons-article-form__title"
>
<Textarea
className="crayons-textfield crayons-textfield--ghost :fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight"
className="crayons-textfield crayons-textfield--ghost fs-3xl m:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight"
type="text"
id="article-form-title"
aria-label="Post Title"

View file

@ -83,7 +83,7 @@
</button>
</div>
<div class="crayons-article-form__title">
<textarea class="crayons-textfield crayons-textfield--ghost fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight" type="text" id="article-form-title" placeholder="New post title here..." autocomplete="off"><%= article.title %></textarea>
<textarea class="crayons-textfield crayons-textfield--ghost fs-3xl m:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight" type="text" id="article-form-title" placeholder="New post title here..." autocomplete="off"><%= article.title %></textarea>
</div>
</div>
<% end %>

View file

@ -37,7 +37,7 @@
});
}
}
}, 500)
}, 500);
</script>
<% end %>
<% unless internal_navigation? || user_signed_in? %>
@ -132,7 +132,7 @@
<%= @organization.name %>
</a>
<% end %>
<h1 class="fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight mb-4 <%= @article.title_length_classification %>">
<h1 class="fs-3xl m:fs-4xl l:fs-5xl fw-bold s:fw-heavy lh-tight mb-4 <%= @article.title_length_classification %>">
<% if @article.search_optimized_title_preamble.present? && !user_signed_in? %>
<span class="fs-xl color-base-70 block"><%= @article.search_optimized_title_preamble %></span>
<% end %>