Skip to content

Commit

Permalink
fix styles (#2161)
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Jan 24, 2022
1 parent 8ee301a commit a1e6102
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/app/components/login-form/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class="rounded-xl px-16 pt-16 pb-16 pr-16 mb-6 bg-white shadow-lg"
{{on "submit" this.onSubmit}}
>
<div class="relative z-10 w-64 bg-white rounded-lg">
<div class="relative z-10 bg-white rounded-lg">
{{#if this.loginInProgress}}
<LoadingSpinner />
{{else}}
Expand Down
6 changes: 5 additions & 1 deletion frontend/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
<Header />
<main
class="{{if
(or (not (is-active "index")))
(not (is-active "index"))
"flex-col mx-auto mt-2 sm:mt-4 rounded pl-1 pr-1 pt-1 pb-1 relative"
}}"
{{! template-lint-disable no-inline-styles }}
{{! template-lint-disable style-concatenation }}
style="
{{if (not (is-active "index")) "width: 80vw; max-width: 1280px;"}}"
>
{{outlet}}
</main>
Expand Down
8 changes: 7 additions & 1 deletion frontend/app/templates/group.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@
}}
<aside
class="bg-gradient-to-b from-white sticky top-0 rounded-bl rounded-br"
{{! template-lint-disable no-inline-styles }}
style="max-width: 80vw;"
>
<GroupNavigation @group={{@model}} />
</aside>
{{/if}}
{{#if (is-active "group.series.subgroup.index")}}
<aside class="bg-gradient-to-b from-white rounded-bl rounded-br">
<aside
class="bg-gradient-to-b from-white rounded-bl rounded-br"
{{! template-lint-disable no-inline-styles }}
style="max-width: 80vw;"
>
<SubgroupNavigation @group={{model-for-route "group.series"}} />
</aside>
{{/if}}
Expand Down

0 comments on commit a1e6102

Please sign in to comment.