Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +4 -10
src/streamlit_app.py
CHANGED
|
@@ -86,22 +86,16 @@ def display_status_and_action(text):
|
|
| 86 |
audio_html = f"""
|
| 87 |
<style>
|
| 88 |
.audio-container {{
|
| 89 |
-
max-width: 740px; /* Streamlit 기본 콘텐츠 너비 */
|
| 90 |
-
margin: 30px auto 0 auto; /* 가운데 정렬 + 위 여백 */
|
| 91 |
-
padding: 10px 20px;
|
| 92 |
-
background-color: #f0f0f0;
|
| 93 |
-
border-radius: 10px;
|
| 94 |
-
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
| 95 |
display: flex;
|
| 96 |
align-items: center;
|
| 97 |
gap: 10px;
|
|
|
|
|
|
|
| 98 |
}}
|
| 99 |
-
|
| 100 |
.audio-icon {{
|
| 101 |
-
font-size:
|
| 102 |
cursor: pointer;
|
| 103 |
}}
|
| 104 |
-
|
| 105 |
.audio-icon[title]:hover::after {{
|
| 106 |
content: attr(title);
|
| 107 |
position: absolute;
|
|
@@ -113,7 +107,7 @@ def display_status_and_action(text):
|
|
| 113 |
font-size: 12px;
|
| 114 |
top: -35px;
|
| 115 |
right: 0;
|
| 116 |
-
z-index:
|
| 117 |
}}
|
| 118 |
</style>
|
| 119 |
|
|
|
|
| 86 |
audio_html = f"""
|
| 87 |
<style>
|
| 88 |
.audio-container {{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
display: flex;
|
| 90 |
align-items: center;
|
| 91 |
gap: 10px;
|
| 92 |
+
justify-content: flex-end; /* 오른쪽 정렬 */
|
| 93 |
+
margin-top: 10px;
|
| 94 |
}}
|
|
|
|
| 95 |
.audio-icon {{
|
| 96 |
+
font-size: 30px;
|
| 97 |
cursor: pointer;
|
| 98 |
}}
|
|
|
|
| 99 |
.audio-icon[title]:hover::after {{
|
| 100 |
content: attr(title);
|
| 101 |
position: absolute;
|
|
|
|
| 107 |
font-size: 12px;
|
| 108 |
top: -35px;
|
| 109 |
right: 0;
|
| 110 |
+
z-index: 999;
|
| 111 |
}}
|
| 112 |
</style>
|
| 113 |
|