fix: adjust margins and padding for tab-container to improve layout consistency

This commit is contained in:
Cell
2025-12-23 16:48:56 +08:00
parent 0978234bf6
commit 8635841c80
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -15,7 +15,7 @@
tab-container {
display: flex;
gap: 0.75rem;
padding-block: 1rem;
margin-block: 0.5rem;
position: relative;
// loading before defined
@@ -25,6 +25,10 @@ tab-container {
}
}
tab-container {
margin-block: 1rem;
}
> .tab-button {
position: relative;
display: block;
@@ -242,6 +246,8 @@ tab-container {
&[placement='left'],
&[placement='right'] {
padding-bottom: 0.5rem;
&::part(tablist) {
gap: 0.75rem;
}
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251223064514-52a7b434" -}}
{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251223084857-0978234b" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}