+6
-1
lines changedFilter options
+6
-1
lines changed Original file line number Diff line number Diff line change
@@ -29,10 +29,15 @@ def render(self) -> widgets.GridBox:
29
29
)
30
30
)
31
31
)
32
+
33
+
style_name = styles[type_name]
34
+
if style_name not in ('primary', 'success', 'info', 'warning', 'danger'):
35
+
style_name = ''
36
+
32
37
items.append(
33
38
Button(
34
39
description=type_name.replace("_", " ").capitalize(),
35
-
button_style=styles[type_name],
40
+
button_style=style_name,
36
41
disabled=True,
37
42
)
38
43
)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4