Skip to content

Commit

Permalink
Apply button color class to LinkButton widget, not its internal anc…
Browse files Browse the repository at this point in the history
…hor tag
  • Loading branch information
edan-bainglass committed Feb 3, 2025
1 parent 7754d0c commit 78470fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aiidalab_qe/common/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,6 @@ def __init__(
role="button"
href="{link}"
target="{"_self" if in_place else "_blank"}"
class="jupyter-button widget-button {class_}"
style="cursor: default; width: fit-content; {style_}"
>
"""
Expand All @@ -1174,7 +1173,9 @@ def __init__(
self.value = html

self.add_class("jupyter-button")
self.add_class("widget-button")
self.add_class("link-button")
self.add_class(class_)

self.disabled = disabled

Expand Down

0 comments on commit 78470fd

Please sign in to comment.