Skip to content

Commit

Permalink
docs: Nicer styles in default
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Jul 11, 2024
1 parent d5efb3f commit 18a69c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/en/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CounterWidget(anywidget.AnyWidget):
export default { render };
"""
_css = """
.counter-widget button { background-color: #ea580c; }
.counter-widget button { color: white; font-size: 1.75rem; background-color: #ea580c; padding: 0.5rem 1rem; border: none; border-radius: 0.25rem; }
.counter-widget button:hover { background-color: #9a3412; }
"""
value = traitlets.Int(0).tag(sync=True)
Expand Down

0 comments on commit 18a69c4

Please sign in to comment.