feat: move brand outside card and simplify logo/name display logic
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
51813d3957
commit
20c757cb76
2 changed files with 6 additions and 8 deletions
|
|
@ -9,9 +9,8 @@
|
|||
<script src="altcha.min.js" type="module" async defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="brand">
|
||||
{{if .brand_logo}}<img src="{{.brand_logo}}" alt="" class="brand-logo">{{else}}<span class="brand-name">{{if .brand_name}}{{.brand_name}}{{else}}Password management{{end}}</span>{{end}}
|
||||
</div>
|
||||
<div class="card{{if .card_wide}} card-wide{{end}}">
|
||||
<div class="brand">
|
||||
{{if .brand_logo}}<img src="{{.brand_logo}}" alt="" class="brand-logo">{{end}}
|
||||
<span class="brand-name">{{if .brand_name}}{{.brand_name}}{{else}}Password management{{end}}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
|||
|
|
@ -69,9 +69,11 @@ body {
|
|||
color: var(--text);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
gap: 1.5rem;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
|
|
@ -93,9 +95,6 @@ body {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
padding-bottom: 1.25rem;
|
||||
margin-bottom: 1.5rem;
|
||||
border-bottom: 1px solid var(--brand-border);
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue