Spaces:
Sleeping
Sleeping
Fix button styling in Recommender App
Browse files- Pages/Recommender App.py +8 -8
Pages/Recommender App.py
CHANGED
|
@@ -91,11 +91,11 @@ def recommend(anime, genre=None):
|
|
| 91 |
def top_animes():
|
| 92 |
style_for_page = """
|
| 93 |
<style>
|
| 94 |
-
|
| 95 |
border-radius: 15px;
|
| 96 |
text-align: center:
|
| 97 |
}
|
| 98 |
-
|
| 99 |
scale: 1.05;
|
| 100 |
transition-duration: 0.3s;
|
| 101 |
}
|
|
@@ -189,11 +189,11 @@ def top_animes():
|
|
| 189 |
def top_animes_genres(genre_select):
|
| 190 |
style_for_page = """
|
| 191 |
<style>
|
| 192 |
-
|
| 193 |
border-radius: 15px;
|
| 194 |
text-align: center:
|
| 195 |
}
|
| 196 |
-
|
| 197 |
scale: 1.05;
|
| 198 |
transition-duration: 0.3s;
|
| 199 |
}
|
|
@@ -286,11 +286,11 @@ def top_animes_genres(genre_select):
|
|
| 286 |
def top_animes_custom(anime_select):
|
| 287 |
style_for_page = """
|
| 288 |
<style>
|
| 289 |
-
|
| 290 |
border-radius: 15px;
|
| 291 |
text-align: center:
|
| 292 |
}
|
| 293 |
-
|
| 294 |
scale: 1.05;
|
| 295 |
transition-duration: 0.3s;
|
| 296 |
}
|
|
@@ -387,11 +387,11 @@ def top_animes_custom(anime_select):
|
|
| 387 |
def top_animes_custom_genres(anime_select, genre_select):
|
| 388 |
style_for_page = """
|
| 389 |
<style>
|
| 390 |
-
|
| 391 |
border-radius: 15px;
|
| 392 |
text-align: center:
|
| 393 |
}
|
| 394 |
-
|
| 395 |
scale: 1.05;
|
| 396 |
transition-duration: 0.3s;
|
| 397 |
}
|
|
|
|
| 91 |
def top_animes():
|
| 92 |
style_for_page = """
|
| 93 |
<style>
|
| 94 |
+
.row-widget.stButton > button {
|
| 95 |
border-radius: 15px;
|
| 96 |
text-align: center:
|
| 97 |
}
|
| 98 |
+
.row-widget.stButton > button:hover {
|
| 99 |
scale: 1.05;
|
| 100 |
transition-duration: 0.3s;
|
| 101 |
}
|
|
|
|
| 189 |
def top_animes_genres(genre_select):
|
| 190 |
style_for_page = """
|
| 191 |
<style>
|
| 192 |
+
.row-widget.stButton > button {
|
| 193 |
border-radius: 15px;
|
| 194 |
text-align: center:
|
| 195 |
}
|
| 196 |
+
.row-widget.stButton > button:hover {
|
| 197 |
scale: 1.05;
|
| 198 |
transition-duration: 0.3s;
|
| 199 |
}
|
|
|
|
| 286 |
def top_animes_custom(anime_select):
|
| 287 |
style_for_page = """
|
| 288 |
<style>
|
| 289 |
+
.row-widget.stButton > button {
|
| 290 |
border-radius: 15px;
|
| 291 |
text-align: center:
|
| 292 |
}
|
| 293 |
+
.row-widget.stButton > button:hover {
|
| 294 |
scale: 1.05;
|
| 295 |
transition-duration: 0.3s;
|
| 296 |
}
|
|
|
|
| 387 |
def top_animes_custom_genres(anime_select, genre_select):
|
| 388 |
style_for_page = """
|
| 389 |
<style>
|
| 390 |
+
.row-widget.stButton > button {
|
| 391 |
border-radius: 15px;
|
| 392 |
text-align: center:
|
| 393 |
}
|
| 394 |
+
.row-widget.stButton > button:hover {
|
| 395 |
scale: 1.05;
|
| 396 |
transition-duration: 0.3s;
|
| 397 |
}
|