Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default margin from H1 #339

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions web/app/components/document/sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@
@isRequired={{true}}
>
<:default as |F|>
<h1
class="hds-typography-display-300 hds-font-weight-semibold hds-foreground-strong"
>
<h1 class="text-display-300 font-semibold">
{{F.value}}
</h1>
</:default>
Expand Down
5 changes: 2 additions & 3 deletions web/app/components/new/doc-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
>
<div>
<div class="space-y-4">
<h1
class="hds-typography-display-500 hds-font-weight-bold hds-foreground-strong"
>Create your {{@docType}}</h1>
<h1>Create your
{{@docType}}</h1>
</div>
<div class="space-y-7 pt-10">
<Hds::Form::TextInput::Field
Expand Down
5 changes: 2 additions & 3 deletions web/app/components/results/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
</div>
{{/if}}

<h1
class="hds-typography-display-300 hds-font-weight-semibold hds-foreground-strong"
>{{@results.nbHits}} documents matching “{{@query}}”</h1>
<h1 class="text-display-300 font-semibold">{{@results.nbHits}}
documents matching “{{@query}}”</h1>
<div class="flex w-full flex-col space-y-12 py-10">
<div class="tile-list">
{{#each @results.hits as |doc index|}}
Expand Down
2 changes: 1 addition & 1 deletion web/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ol {
}

h1 {
@apply mb-1.5 text-display-500 font-bold text-color-foreground-strong;
@apply text-display-500 font-bold text-color-foreground-strong;

+ p {
@apply text-body-300;
Expand Down
2 changes: 1 addition & 1 deletion web/app/templates/authenticate.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class="relative flex w-full flex-col items-center px-20 pt-24 pb-32 text-center"
>
<HermesLogo class="mb-8" />
<h1 class="">
<h1 class="mb-1.5">
Welcome to Hermes.
</h1>
<p class="mb-8 text-display-300">
Expand Down
2 changes: 1 addition & 1 deletion web/app/templates/authenticated/new/index.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{page-title "New Doc"}}

<h1>Choose a template</h1>
<h1 class="mb-1.5">Choose a template</h1>
<ol class="mt-9 grid grid-cols-3 gap-4">
{{#each @model as |docType|}}
<li class="relative">
Expand Down
2 changes: 1 addition & 1 deletion web/app/templates/authenticated/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="x-container">
<div class="max-w-2xl">

<h1 class="hds-typography-display-500 mb-2.5">Email notifications</h1>
<h1 class="mb-2.5">Email notifications</h1>
<p class="hds-typography-display-200">Get notified when docs are created
in the following areas...</p>
<Settings::SubscriptionList @allProductAreas={{@model}} />
Expand Down