code-slicer commited on
Commit
b0ad61f
ยท
verified ยท
1 Parent(s): 3d34086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -194,28 +194,28 @@ COLOR = "#F1F1F1"
194
 
195
  st.markdown(f"""
196
  <style>
197
- /* ์ค‘์•™ ์ปฌ๋Ÿผ ๋‚ด๋ถ€์˜ ๋ž˜ํผ/ํผ/๋ธ”๋ก๋„ ๋ฐฐ๊ฒฝ์„ ๋‹จ์ผ ์ƒ‰์œผ๋กœ ํ†ต์ผ */
198
- section.main .block-container,
199
- section.main .block-container [data-testid="stVerticalBlock"],
200
- section.main .block-container [data-testid="stHorizontalBlock"],
201
- section.main .block-container [data-testid="stForm"],
202
- section.main .block-container [data-testid="stForm"] > div,
203
- section.main .block-container [data-testid="stMarkdownContainer"] {{
204
- background: {COLOR} !important;
205
- box-shadow: none !important;
206
  }}
207
 
208
- /* ์ž…๋ ฅ์ฐฝ ์ฃผ๋ณ€ ์˜์—ญ์ด ๋‹ค๋ฅธ ํ†ค์„ ๋งŒ๋“ค์ง€ ์•Š๋„๋ก ํˆฌ๋ช…ํ™” */
209
- div[data-testid="stChatInput"] {{
210
- background: transparent !important;
211
- box-shadow: none !important;
212
- border-top: none !important;
213
- }}
 
 
214
 
215
- /* ํผ/์œ„์ ฏ ์˜์—ญ ํ•˜๋‹จ์— ์ƒ๊ธฐ๋Š” ๋ฏธ์„ธ ๊ฒฝ๊ณ„(1px) ์ œ๊ฑฐ */
216
- section.main .block-container > div {{
217
- border: 0 !important;
 
 
218
  }}
 
 
219
  </style>
220
  """, unsafe_allow_html=True)
221
 
 
194
 
195
  st.markdown(f"""
196
  <style>
197
+ html, body {{
198
+ height: 100%;
199
+ margin: 0;
 
 
 
 
 
 
200
  }}
201
 
202
+ /* ์ƒ๋‹จยท๋ฐฐ๊ฒฝ ํˆฌ๋ช… ์ฒ˜๋ฆฌ */
203
+ header[data-testid="stHeader"],
204
+ [data-testid="stAppViewContainer"],
205
+ main, section.main {{ background: transparent !important; }}
206
+
207
+ /* ๋‚จ์•„์žˆ์„ ์ˆ˜ ์žˆ๋Š” ๋ ˆ์ด์–ด ์ œ๊ฑฐ */
208
+ .stApp::before, .stApp::after,
209
+ .block-container::before, .block-container::after {{ content:none !important; }}
210
 
211
+ /* ์ค‘์•™ ์ปฌ๋Ÿผ์—๋งŒ ๋‹จ์ƒ‰ ๋ฐฐ๊ฒฝ */
212
+ .block-container {{
213
+ position: relative;
214
+ min-height: 100%;
215
+ background: {COLOR} !important;
216
  }}
217
+
218
+ .block-container > * {{ position: relative; z-index: 1; }}
219
  </style>
220
  """, unsafe_allow_html=True)
221