FajarHidaa commited on
Commit
2545360
Β·
verified Β·
1 Parent(s): d9435c8

Update src/ui/styles.py

Browse files
Files changed (1) hide show
  1. src/ui/styles.py +27 -0
src/ui/styles.py CHANGED
@@ -849,6 +849,33 @@ hr {{
849
  box-shadow: 0 0 0 2px rgba(109,40,217,0.2) !important;
850
  }}
851
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
852
  </style>
853
 
854
  <!-- Atmospheric orbs -->
 
849
  box-shadow: 0 0 0 2px rgba(109,40,217,0.2) !important;
850
  }}
851
 
852
+ /* ════════════════════════════════════════
853
+ FIX: MATERIAL ICON (UPLOAD DOUBLE TEXT)
854
+ ════════════════════════════════════════ */
855
+ [data-testid="stIconMaterial"] {{
856
+ font-family: 'Material Icons' !important;
857
+ font-style: normal !important;
858
+ font-weight: normal !important;
859
+ font-size: 20px !important;
860
+ line-height: 1 !important;
861
+ letter-spacing: normal !important;
862
+ text-transform: none !important;
863
+ white-space: nowrap !important;
864
+ display: inline-block !important;
865
+ }}
866
+
867
+ /* Remove possible duplicate rendering */
868
+ [data-testid="stIconMaterial"]::before,
869
+ [data-testid="stIconMaterial"]::after {{
870
+ content: none !important;
871
+ }}
872
+
873
+ /* Prevent global styling leaking into icon */
874
+ [data-testid="stIconMaterial"] * {{
875
+ all: unset;
876
+ }}
877
+
878
+
879
  </style>
880
 
881
  <!-- Atmospheric orbs -->