Ashrafb commited on
Commit
87f3920
·
verified ·
1 Parent(s): 5c71428

Update static/index.html

Browse files
Files changed (1) hide show
  1. static/index.html +16 -10
static/index.html CHANGED
@@ -300,15 +300,18 @@ input[type="number"]#best_max_flavors:focus {
300
  /* Your existing styles */
301
  }
302
 
303
- #copyIcon {
304
- font-size: 24px; /* Adjust the font size as needed */
305
- position: absolute;
306
- bottom: 10px; /* Adjust the distance from the bottom */
307
- left: 10px; /* Adjust the distance from the left */
308
- cursor: pointer;
309
- z-index: 1;
310
- color: rgba(255, 255, 255, 0.7); /* Adjust the opacity value */
311
- }
 
 
 
312
  #resultContainer {
313
  /* Include padding and border in the total height */
314
  }
@@ -461,9 +464,12 @@ input[type="number"]#best_max_flavors:focus {
461
  <div id="loadingSpinner" style="display: none;"></div>
462
 
463
  <div id="resultContainer">
464
- <i class="far fa-copy" id="copyIcon" onclick="copyTextToClipboard()"></i>
465
  </div>
466
  </div>
 
 
 
467
 
468
  <script>
469
  function previewImage(event) {
 
300
  /* Your existing styles */
301
  }
302
 
303
+ #copyContainer {
304
+ width: fit-content;
305
+ margin: auto;
306
+ text-align: center;
307
+ }
308
+
309
+ #copyIcon {
310
+ font-size: 24px; /* Adjust the font size as needed */
311
+ cursor: pointer;
312
+ color: rgba(255, 255, 255, 0.7); /* Adjust the opacity value */
313
+ }
314
+
315
  #resultContainer {
316
  /* Include padding and border in the total height */
317
  }
 
464
  <div id="loadingSpinner" style="display: none;"></div>
465
 
466
  <div id="resultContainer">
467
+
468
  </div>
469
  </div>
470
+ <div id="copyContainer">
471
+ <i class="far fa-copy" id="copyIcon" onclick="copyTextToClipboard()"></i>
472
+ </div>
473
 
474
  <script>
475
  function previewImage(event) {