Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def cloud_button(label, key=None, color=None):
|
|
27 |
button_id = f"cloud-button-{key or label}"
|
28 |
color_class = f"color-{color}" if color else ""
|
29 |
cloud_button_html = f"""
|
30 |
-
<div class="cloud {color_class}" id="{button_id}">
|
31 |
<div class="circle small"></div>
|
32 |
<div class="circle medium"></div>
|
33 |
<div class="circle large"></div>
|
@@ -38,13 +38,13 @@ def cloud_button(label, key=None, color=None):
|
|
38 |
<style>
|
39 |
.cloud {{
|
40 |
position: relative;
|
41 |
-
display: inline-
|
42 |
cursor: pointer;
|
43 |
user-select: none;
|
44 |
-
margin-right: 20px;
|
45 |
}}
|
46 |
.rectangle {{
|
47 |
-
width: 120px;
|
48 |
height: 60px;
|
49 |
background-color: white;
|
50 |
border-radius: 30px;
|
@@ -56,6 +56,7 @@ def cloud_button(label, key=None, color=None):
|
|
56 |
justify-content: center;
|
57 |
font-size: 16px;
|
58 |
font-weight: bold;
|
|
|
59 |
transition: background-color 0.4s;
|
60 |
}}
|
61 |
.circle {{
|
|
|
27 |
button_id = f"cloud-button-{key or label}"
|
28 |
color_class = f"color-{color}" if color else ""
|
29 |
cloud_button_html = f"""
|
30 |
+
<div class="cloud {color_class}" id="{button_id}" style="display: inline-block; margin-bottom: 20px;">
|
31 |
<div class="circle small"></div>
|
32 |
<div class="circle medium"></div>
|
33 |
<div class="circle large"></div>
|
|
|
38 |
<style>
|
39 |
.cloud {{
|
40 |
position: relative;
|
41 |
+
display: inline-flex;
|
42 |
cursor: pointer;
|
43 |
user-select: none;
|
44 |
+
margin-right: 20px;
|
45 |
}}
|
46 |
.rectangle {{
|
47 |
+
min-width: 120px;
|
48 |
height: 60px;
|
49 |
background-color: white;
|
50 |
border-radius: 30px;
|
|
|
56 |
justify-content: center;
|
57 |
font-size: 16px;
|
58 |
font-weight: bold;
|
59 |
+
padding: 0 20px;
|
60 |
transition: background-color 0.4s;
|
61 |
}}
|
62 |
.circle {{
|