diff --git a/src/aiidalab_qe/common/widgets.py b/src/aiidalab_qe/common/widgets.py index 20f14f549..c1917d6ab 100644 --- a/src/aiidalab_qe/common/widgets.py +++ b/src/aiidalab_qe/common/widgets.py @@ -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_}" > """ @@ -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