/new form title fix font font-size (#12576)
* tooltips 1.0.1 * tooltips 1.0.1 * typography fix
This commit is contained in:
parent
dfdb37971c
commit
a6fd2be9d9
4 changed files with 5 additions and 5 deletions
|
|
@ -112,7 +112,7 @@ body {
|
|||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-size: 1.75em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 %>
|
||||
|
|
|
|||
|
|
@ -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 %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue