Leon4gr45 commited on
Commit
40b4a7a
·
verified ·
1 Parent(s): ead85a1

Upload folder using huggingface_hub

Browse files
webui/components/chat/input/chat-bar-input.html CHANGED
@@ -362,16 +362,9 @@
362
  order: 2;
363
  border-radius: 12px;
364
  background-color: #4248f1;
365
- color: #ffffff !important;
366
  box-shadow: none;
367
  }
368
 
369
- #send-button x-icon,
370
- #send-button .material-symbols-outlined,
371
- #send-button .material-icons-outlined {
372
- color: #ffffff !important;
373
- }
374
-
375
  #send-button.send-queue {
376
  background-color: #e67e22;
377
  box-shadow: none;
 
362
  order: 2;
363
  border-radius: 12px;
364
  background-color: #4248f1;
 
365
  box-shadow: none;
366
  }
367
 
 
 
 
 
 
 
368
  #send-button.send-queue {
369
  background-color: #e67e22;
370
  box-shadow: none;
webui/index.html CHANGED
@@ -88,15 +88,13 @@
88
  }, { once: true })
89
 
90
  const loadMaterialIcons = () => {
91
- root.classList.add("material-icons-ready")
92
  const fontLoad = document.fonts?.load
93
  ? document.fonts.load('24px "Material Symbols Outlined"')
94
  : Promise.resolve([])
95
- fontLoad.then(() => {
96
- root.classList.add("material-icons-ready")
97
  }).catch((error) => {
98
  console.warn("Material Symbols font unavailable.", error)
99
- root.classList.add("material-icons-ready")
100
  })
101
  }
102
 
 
88
  }, { once: true })
89
 
90
  const loadMaterialIcons = () => {
 
91
  const fontLoad = document.fonts?.load
92
  ? document.fonts.load('24px "Material Symbols Outlined"')
93
  : Promise.resolve([])
94
+ fontLoad.then((faces) => {
95
+ if (faces.length > 0) root.classList.add("material-icons-ready")
96
  }).catch((error) => {
97
  console.warn("Material Symbols font unavailable.", error)
 
98
  })
99
  }
100