We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c1c9b commit d708896Copy full SHA for d708896
src/button-dropdown/internal.tsx
@@ -150,9 +150,17 @@ const InternalButtonDropdown = React.forwardRef(
150
{hasHeader && (
151
<div className={styles.header} id={headerId}>
152
{title && (
153
- <InternalBox fontSize="heading-s" fontWeight="bold">
154
- <span className={styles.title}>{title}</span>
155
- </InternalBox>
+ <div className={styles.title}>
+ <InternalBox
+ fontSize="heading-s"
156
+ fontWeight="bold"
157
+ color="inherit"
158
+ tagOverride="h3"
159
+ margin={{ vertical: 'n', horizontal: 'n' }}
160
+ >
161
+ {title}
162
+ </InternalBox>
163
+ </div>
164
)}
165
{description && (
166
<InternalBox fontSize="body-s">
0 commit comments