diff --git a/src/component.css b/src/component.css index acc651a..e368e5e 100644 --- a/src/component.css +++ b/src/component.css @@ -16,6 +16,29 @@ flex: 1 1; } + .workspace { + height: 100%; + width: 100%; + overflow: hidden; + display: flex; + align-items: stretch; + gap: var(--spacing-m); + padding: var(--spacing-m) var(--spacing-xl); + header { + display: flex; + flex-direction: column; + gap: var(--spacing-xs); + line-height: 1.3em; + h3 { + font-size: var(--font-size-xl); + } + p { + font-size: var(--font-size-xs); + color: var(--color-neutral-focus); + } + } + } + /* 按钮默认样式 */ :where(button, .button) { --button-neutral-bg: var(--color-neutral); diff --git a/src/theme.css b/src/theme.css index 930a2a7..d739f99 100644 --- a/src/theme.css +++ b/src/theme.css @@ -50,7 +50,7 @@ background-color: var(--color-bg); } - :where(h1, h2, h3, h4, h5, h6) { + :where(h1, h2, h3, h4, h5, h6, p) { margin: 0; padding: 0; }