Skip to content

Commit 24430ca

Browse files
committed
Add more CSS classes
1 parent 311cfe9 commit 24430ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FontPicker.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,17 @@ export default class FontPicker extends PureComponent<Props, State> {
187187
return <div />;
188188
}
189189
return (
190-
<ul>
190+
<ul className="font-list">
191191
{fonts.map(
192192
(font): React.ReactElement => {
193193
const isActive = font.family === activeFontFamily;
194194
const fontId = getFontId(font.family);
195195
return (
196-
<li key={fontId}>
196+
<li key={fontId} className="font-list-item">
197197
<button
198198
type="button"
199199
id={`font-button-${fontId}${this.fontManager.selectorSuffix}`}
200-
className={isActive ? "active-font" : ""}
200+
className={`font-button ${isActive ? "active-font" : ""}`}
201201
onClick={this.onSelection}
202202
onKeyPress={this.onSelection}
203203
>

0 commit comments

Comments
 (0)