broadfield-dev commited on
Commit
16ab3b8
·
verified ·
1 Parent(s): 6f16124

Update gradio_keylock/component.py

Browse files
Files changed (1) hide show
  1. gradio_keylock/component.py +2 -2
gradio_keylock/component.py CHANGED
@@ -174,8 +174,7 @@ class KeylockDecoderComponent:
174
  max-width: 480px;
175
  margin: 4rem auto !important;
176
  padding: 2rem 2.5rem;
177
- background-image:<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"></path></svg>;
178
- /* background-color: rgba(22, 27, 34, 0.85); */
179
  border: 1px solid #30363d;
180
  border-radius: 12px;
181
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
@@ -280,6 +279,7 @@ class KeylockDecoderComponent:
280
 
281
  gr.HTML("""
282
  <div id="keylock-logo">
 
283
 
284
  <h1>KeyLock Authentication</h1>
285
  </div>
 
174
  max-width: 480px;
175
  margin: 4rem auto !important;
176
  padding: 2rem 2.5rem;
177
+ background-color: rgba(22, 27, 34, 0.85);
 
178
  border: 1px solid #30363d;
179
  border-radius: 12px;
180
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
 
279
 
280
  gr.HTML("""
281
  <div id="keylock-logo">
282
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8" fill="currentColor"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"></path></svg>;
283
 
284
  <h1>KeyLock Authentication</h1>
285
  </div>