mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-21 15:26:29 +00:00
fix: align settings to center
This commit is contained in:
parent
c153fe1b8f
commit
a5b6325339
1 changed files with 19 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
|
||||
<div
|
||||
class="mx-8 mt-8 max-w-screen-xl lg:mt-20 grid grid-cols-1 lg:grid-cols-[min-content_minmax(0,1fr)] gap-8"
|
||||
class="mx-8 mt-8 max-w-screen-xl lg:mt-20 grid grid-cols-1 lg:grid-cols-[min-content_minmax(0,1fr)] gap-8 self-center"
|
||||
>
|
||||
<ul class="sidebar">
|
||||
{{ range .SettingsSidebar }}
|
||||
|
@ -18,14 +18,26 @@
|
|||
{{ if $active }}aria-current="true"{{ end }}
|
||||
href="{{ .Path }}"
|
||||
class="{{ if $active }}active{{ end }}"
|
||||
{{ if eq .Title "Temporal" }}target="_blank" rel="noreferrer noopener"{{ end }}
|
||||
{{ if eq .Title "Temporal" }}
|
||||
target="_blank" rel="noreferrer noopener"
|
||||
{{ end }}
|
||||
>
|
||||
{{ .Title }}
|
||||
{{ if eq .Title "Targets" }}<span class="text-slate-400">(3)</span>{{ end }}
|
||||
{{ if eq .Title "Monitors" }}<span class="text-slate-400">(3)</span>{{ end }}
|
||||
{{ if eq .Title "Triggers" }}<span class="text-slate-400">(3)</span>{{ end }}
|
||||
{{ if eq .Title "Notifications" }}<span class="text-slate-400">(3)</span>{{ end }}
|
||||
{{ if eq .Title "Worker Groups" }}<span class="text-slate-400">(3)</span>{{ end }}
|
||||
{{ if eq .Title "Targets" }}
|
||||
<span class="text-slate-400">(3)</span>
|
||||
{{ end }}
|
||||
{{ if eq .Title "Monitors" }}
|
||||
<span class="text-slate-400">(3)</span>
|
||||
{{ end }}
|
||||
{{ if eq .Title "Triggers" }}
|
||||
<span class="text-slate-400">(3)</span>
|
||||
{{ end }}
|
||||
{{ if eq .Title "Notifications" }}
|
||||
<span class="text-slate-400">(3)</span>
|
||||
{{ end }}
|
||||
{{ if eq .Title "Worker Groups" }}
|
||||
<span class="text-slate-400">(3)</span>
|
||||
{{ end }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue