fix(sw): align header trailing border gradients
Deploy Storybook / deploy (push) Successful in 2m18s
Deploy Storybook / deploy (push) Successful in 2m18s
This commit is contained in:
1 parent
1916146bd4
commit
3a4c63b5a4
3 files changed
+51
-8
No files matched your search
@@ -435,7 +435,9 @@ export const SWViewerHeader = forwardRef<HTMLElement, SWViewerHeaderProps>(funct
|
||||
if (owner) command({ id: entry.id, itemId: owner, value: entry.type === "checkbox" ? !entry.checked : undefined })
|
||||
}} />
|
||||
</>}
|
||||
{(end.length > 0 || trailing) && <div className="hm-sw-viewer-header__actions">{end.map(renderGroup)}{trailing}</div>}
|
||||
{/* The empty strip-start mark (2026-10-23) holds the rounded object end drawn before the trailing strip
|
||||
(sw-viewer.css), so the strip cells keep their own pseudo-elements for the strip outline. */}
|
||||
{(end.length > 0 || trailing) && <div className="hm-sw-viewer-header__actions">{end.map(renderGroup)}{trailing && <span className="hm-sw-viewer-header__strip-start" aria-hidden="true" />}{trailing}</div>}
|
||||
</div>
|
||||
</header>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user