fix(sw): remove top margin from card sections
Deploy Storybook / deploy (push) Successful in 1m14s
Deploy Storybook / deploy (push) Successful in 1m14s
This commit is contained in:
1 parent
89011a2e42
commit
81127a4e44
2 files changed
+4
-1
No files matched your search
@@ -659,7 +659,10 @@ button.hm-sw-viewer-header__brand { text-align: left; }
|
||||
|
||||
/* Panel content */
|
||||
.hm-sw-viewer-section { display: flex; flex-direction: column; gap: 12px; }
|
||||
/* 2026-10-23 (user request): a card (grouped) Section takes no top margin, so a consumer's "next group" spacing
|
||||
class does not add to the panel body gap; plain Sections keep theirs. */
|
||||
.hm-sw-viewer-section[data-surface="card"] {
|
||||
margin-top: 0;
|
||||
padding: var(--hm-sw-viewer-panel-spacing);
|
||||
border: 1px solid var(--hm-sw-viewer-panel-inner-border);
|
||||
border-radius: var(--hm-sw-viewer-radius);
|
||||
|
||||
Reference in new issue
Block a user