Akis Giannoukos commited on
Commit
befa4a6
·
1 Parent(s): 20ca8b6

Made buttons smaller

Browse files
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -714,9 +714,17 @@ def create_demo():
714
  #voice-bubble button { pointer-events: auto; cursor: pointer; }
715
  /* Hide TTS player UI but keep it in DOM for autoplay */
716
  #tts-player { width: 0 !important; height: 0 !important; opacity: 0 !important; position: absolute; pointer-events: none; }
717
- /* Settings button in top right */
718
- #settings-btn { position: absolute; top: 16px; right: 16px; z-index: 10; }
719
- #back-btn { position: absolute; top: 16px; right: 16px; z-index: 10; }
 
 
 
 
 
 
 
 
720
  '''
721
  ) as demo:
722
  # Settings button (top right)
 
714
  #voice-bubble button { pointer-events: auto; cursor: pointer; }
715
  /* Hide TTS player UI but keep it in DOM for autoplay */
716
  #tts-player { width: 0 !important; height: 0 !important; opacity: 0 !important; position: absolute; pointer-events: none; }
717
+ /* Settings and back buttons in top right - compact */
718
+ #settings-btn {
719
+ position: absolute; top: 16px; right: 16px; z-index: 10;
720
+ width: auto !important; min-width: 100px !important; max-width: 120px !important;
721
+ padding: 8px 16px !important;
722
+ }
723
+ #back-btn {
724
+ position: absolute; top: 16px; right: 16px; z-index: 10;
725
+ width: auto !important; min-width: 80px !important; max-width: 100px !important;
726
+ padding: 8px 16px !important;
727
+ }
728
  '''
729
  ) as demo:
730
  # Settings button (top right)