Skip to content

Commit

Permalink
tweak header
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz-nz committed Jan 13, 2024
1 parent 6106a31 commit 9fc20cc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
20 changes: 18 additions & 2 deletions css/utilities.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
@layer utilities {
.flex {
display: flex;

.col {
flex-direction: column;
}
}

.items-center {
align-items: center;
}

.gap-1 {
gap: var(--size-1);
.gap-2 {
gap: var(--size-2);
}

.mb-4 {
margin-bottom: var(--size-4);
}

.text-0 {
font-size: var(--font-size-0);
}

.text-1 {
font-size: var(--font-size-1);
}

.text-3 {
font-size: var(--font-size-3);
}

.pointer {
cursor: pointer;
}
Expand Down
11 changes: 7 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,17 @@
<body>
<meili-instance>
<header>
<h1 class="flex gap-1 items-center font-2">
<img width="52" height="30" src="/images/logo.svg" alt="" /> Meilisearch UI
</h1>
<div class="flex gap-2 items-center">
<img width="68" height="40" src="/images/logo.svg" alt="" />
<div class="flex col">
<h1 class="text-3">Meilisearch UI</h1>
<instance-version class="text-0" onerror="document.querySelector('#instance-settings-dialog').showModal()"></instance-version>
</div>
</div>
<instance-details>
<instance-name></instance-name>
<instance-host></instance-host>
<instance-size></instance-size>
<instance-version onerror="document.querySelector('#instance-settings-dialog').showModal()"></instance-version>
<instance-status></instance-status>
<svg-icon
aria-role="button"
Expand Down

0 comments on commit 9fc20cc

Please sign in to comment.