mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +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
|
<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">
|
<ul class="sidebar">
|
||||||
{{ range .SettingsSidebar }}
|
{{ range .SettingsSidebar }}
|
||||||
|
@ -18,14 +18,26 @@
|
||||||
{{ if $active }}aria-current="true"{{ end }}
|
{{ if $active }}aria-current="true"{{ end }}
|
||||||
href="{{ .Path }}"
|
href="{{ .Path }}"
|
||||||
class="{{ if $active }}active{{ end }}"
|
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 }}
|
{{ .Title }}
|
||||||
{{ if eq .Title "Targets" }}<span class="text-slate-400">(3)</span>{{ end }}
|
{{ if eq .Title "Targets" }}
|
||||||
{{ if eq .Title "Monitors" }}<span class="text-slate-400">(3)</span>{{ end }}
|
<span class="text-slate-400">(3)</span>
|
||||||
{{ if eq .Title "Triggers" }}<span class="text-slate-400">(3)</span>{{ end }}
|
{{ end }}
|
||||||
{{ if eq .Title "Notifications" }}<span class="text-slate-400">(3)</span>{{ end }}
|
{{ if eq .Title "Monitors" }}
|
||||||
{{ if eq .Title "Worker Groups" }}<span class="text-slate-400">(3)</span>{{ end }}
|
<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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue