Skip to content

Commit f6957ad

Browse files
sserrataclaude
andcommitted
style(theme): fix wide click target on schema expansion trigger
Lock the trigger button to a 22x22 box so the hover background and click area match the icon, rather than stretching to the flex row's height. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent b54a98e commit f6957ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/docusaurus-theme-openapi-docs/src/theme/SchemaExpansion/_SchemaExpansion.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
background: transparent;
1818
border: none;
1919
border-radius: var(--ifm-global-radius);
20-
padding: 4px;
20+
padding: 0;
21+
width: 22px;
22+
height: 22px;
23+
flex: 0 0 22px;
2124
display: inline-flex;
2225
align-items: center;
2326
justify-content: center;

0 commit comments

Comments
 (0)