openfree commited on
Commit
b246df5
ยท
verified ยท
1 Parent(s): 2315cd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -4
app.py CHANGED
@@ -976,15 +976,29 @@ with gr.Blocks(
976
  .gradio-container {
977
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
978
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
979
  .tab-nav button {
 
980
  font-size: 0.85em !important;
981
  padding: 8px 12px !important;
982
  white-space: nowrap !important;
983
  }
984
- .tab-nav {
985
- flex-wrap: wrap !important;
986
- gap: 5px !important;
987
- }
988
  @keyframes pulse {
989
  0% { opacity: 0.6; }
990
  50% { opacity: 1; }
@@ -995,6 +1009,7 @@ with gr.Blocks(
995
  }
996
  """
997
  ) as demo:
 
998
  # ์–ธ์–ด ์ƒํƒœ ๊ด€๋ฆฌ
999
  current_language = gr.State(value="en")
1000
 
 
976
  .gradio-container {
977
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
978
  }
979
+
980
+ /* โ‘  ํƒญ ๋„ค๋น„๊ฒŒ์ด์…˜: ๊ฐ€๋กœ ์Šคํฌ๋กค ๊ฐ€๋Šฅํ•˜๋„๋ก */
981
+ .tab-nav {
982
+ display: flex !important;
983
+ flex-wrap: nowrap !important; /* ์ค„๋ฐ”๊ฟˆ ๋ฐฉ์ง€ */
984
+ overflow-x: auto !important; /* ๊ฐ€๋กœ ์Šคํฌ๋กค */
985
+ white-space: nowrap !important; /* ๋ฒ„ํŠผ ํ•œ ์ค„ ์œ ์ง€ */
986
+ gap: 5px !important;
987
+ scrollbar-width: none; /* Firefox */
988
+ -ms-overflow-style: none; /* IE/Edge */
989
+ }
990
+ .tab-nav::-webkit-scrollbar { /* Chrome */
991
+ display: none;
992
+ }
993
+
994
+ /* โ‘ก ํƒญ ๋ฒ„ํŠผ์€ ์ค„๋ฐ”๊ฟˆ ์—†์ด ๊ณ ์ •ํญ์œผ๋กœ */
995
  .tab-nav button {
996
+ flex: 0 0 auto !important;
997
  font-size: 0.85em !important;
998
  padding: 8px 12px !important;
999
  white-space: nowrap !important;
1000
  }
1001
+
 
 
 
1002
  @keyframes pulse {
1003
  0% { opacity: 0.6; }
1004
  50% { opacity: 1; }
 
1009
  }
1010
  """
1011
  ) as demo:
1012
+
1013
  # ์–ธ์–ด ์ƒํƒœ ๊ด€๋ฆฌ
1014
  current_language = gr.State(value="en")
1015