code-slicer commited on
Commit
e0a91e6
ยท
verified ยท
1 Parent(s): add6330

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -192,14 +192,20 @@ BG_URL = "https://plus.unsplash.com/premium_photo-1679830513869-cd3648acb1db?q=8
192
 
193
  st.markdown(f"""
194
  <style>
 
 
 
195
  /* 1) ๊ฐ€์šด๋ฐ ์ปฌ๋Ÿผ(.block-container)๋งŒ ๋ฐฐ๊ฒฝ ์‚ฌ์šฉ */
196
  .block-container {{
197
  position: relative;
198
  min-height: 100vh; /* ํ™”๋ฉด ๋†’์ด ๋งŒํผ๋งŒ(=๋นจ๊ฐ„ ๋ฐ•์Šค ๋†’์ด ๋А๋‚Œ) */
 
199
  }}
200
  .block-container::before {{
201
  content: "";
202
- position: absolute; inset: 0; /* ์ปฌ๋Ÿผ ์˜์—ญ์—๋งŒ ๋ฎ๊ธฐ */
 
 
203
  background: url('{BG_URL}') center / cover no-repeat;
204
  background-position: center 45%;
205
  opacity: .15; /* ํˆฌ๋ช…๋„ 80% */
 
192
 
193
  st.markdown(f"""
194
  <style>
195
+ /* 0) ํ˜น์‹œ ๋‚จ์•„ ์žˆ๋Š” ์ „์—ญ ๋ฐฐ๊ฒฝ์ด ์žˆ์œผ๋ฉด ๋•๋‹ˆ๋‹ค (์ค‘๋ณต/๊ฒน์นจ ๋ฐฉ์ง€) */
196
+ .stApp::before { content: none !important; } /* โฌ…๏ธ ์ถ”๊ฐ€ */
197
+
198
  /* 1) ๊ฐ€์šด๋ฐ ์ปฌ๋Ÿผ(.block-container)๋งŒ ๋ฐฐ๊ฒฝ ์‚ฌ์šฉ */
199
  .block-container {{
200
  position: relative;
201
  min-height: 100vh; /* ํ™”๋ฉด ๋†’์ด ๋งŒํผ๋งŒ(=๋นจ๊ฐ„ ๋ฐ•์Šค ๋†’์ด ๋А๋‚Œ) */
202
+ overflow: visible !important; /* โฌ…๏ธ ์ถ”๊ฐ€: ์ž˜๋ฆผ ๋ฐฉ์ง€ */
203
  }}
204
  .block-container::before {{
205
  content: "";
206
+ position: absolute;
207
+ /* โฌ‡๏ธ ๋‹ค์Œ ํ•œ ์ค„์ด ํ•ต์‹ฌ: ๋†’์ด ์ œํ•œ ์—†์ด ๋„ค ๋ณ€์„ 0์œผ๋กœ ๋ถ™์—ฌ ์ „์ฒด๋ฅผ ๋ฎ์Šต๋‹ˆ๋‹ค */
208
+ inset: 0; /* top:0;right:0;bottom:0;left:0;์™€ ๋™์ผ */
209
  background: url('{BG_URL}') center / cover no-repeat;
210
  background-position: center 45%;
211
  opacity: .15; /* ํˆฌ๋ช…๋„ 80% */