ironjr commited on
Commit
ed606c7
β€’
1 Parent(s): 9fbcf89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +36 -0
app.py CHANGED
@@ -447,6 +447,42 @@ css = f"""
447
  .layer-wrap {{
448
  display: none;
449
  }}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  """
451
 
452
  for i in range(opt.max_palettes + 1):
 
447
  .layer-wrap {{
448
  display: none;
449
  }}
450
+
451
+ #share-btn-container {{
452
+ display: flex;
453
+ padding-left: 0.5rem !important;
454
+ padding-right: 0.5rem !important;
455
+ background-color: #000000;
456
+ justify-content: center;
457
+ align-items: center;
458
+ border-radius: 9999px !important;
459
+ width: 13rem;
460
+ margin-top: 10px;
461
+ margin-left: auto;
462
+ }}
463
+
464
+ #share-btn {{
465
+ all: initial;
466
+ color: #ffffff;font-weight: 600;
467
+ cursor:pointer;
468
+ font-family: 'IBM Plex Sans', sans-serif;
469
+ margin-left: 0.5rem !important;
470
+ padding-top: 0.25rem !important;
471
+ padding-bottom: 0.25rem !important;right:0;
472
+ }}
473
+
474
+ #share-btn * {{
475
+ all: unset;
476
+ }}
477
+
478
+ #share-btn-container div:nth-child(-n+2){{
479
+ width: auto !important;
480
+ min-height: 0px !important;
481
+ }}
482
+
483
+ #share-btn-container .wrap {{
484
+ display: none !important;
485
+ }}
486
  """
487
 
488
  for i in range(opt.max_palettes + 1):