File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 101101.summary-bar {
102102 @apply my-1 mt-4 flex flex-col rounded-sm border-1 border-gray-100 bg-gray-50 p-4 dark:border-gray-800 dark:bg-gray-900;
103103}
104+
105+ .tabs {
106+ @apply bg-blue/2 rounded-sm p-2;
107+ }
108+ .tablist {
109+ @apply mb-1 border-b border-gray-100 dark:border-gray-800;
110+ }
111+
112+ .tab-item {
113+ @apply inline-block rounded-sm px-3 py-2 hover:bg-gray-50 dark:hover:bg-gray-900;
114+ @apply dark:text-gray-200;
115+ }
Original file line number Diff line number Diff line change 66
77
88< div
9+ class ="tabs "
910 {{ with $group }}
1011 {{ if $persist }}
1112 x-data ="{ selected: $persist('{{ $first }}').as('{{ $groupID }}') } "
1920 {{ end }}
2021 aria-role ="tabpanel "
2122>
22- < div aria-role ="tablist " class ="space-x-2 ">
23+ < div aria-role ="tablist " class ="tablist ">
2324 {{ range (.Store.Get "tabs") }}
2425 < button
25- class ="p-1 "
26+ class ="tab-item "
2627 :class ="selected === '{{ .name | urlize }}' &&
2728 'border-blue border-b-4 dark:border-b-blue-600' "
2829 {{ if $group }}
3637 </ button >
3738 {{ end }}
3839 </ div >
39- < hr class ="!mt-0 " />
4040 < div >
4141 {{ range (.Store.Get "tabs") }}
4242 < div
4747 </ div >
4848 {{ end }}
4949 </ div >
50- < hr />
5150</ div >
You can’t perform that action at this time.
0 commit comments