victor HF staff commited on
Commit
092b2d0
·
1 Parent(s): 90a51a8

feat: Move HTML toggle after input and change textarea to text input

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -9,11 +9,11 @@
9
  <body>
10
  <div class="w-dvh grid h-dvh grid-rows-[50px,1fr] overflow-hidden max-2xl:text-sm">
11
  <div class="flex px-3 items-center gap-3 2xl:gap-5 whitespace-nowrap">
 
 
12
  <label>
13
  <input type="checkbox" id="input-html-toggle"> Input HTML
14
  </label>
15
- <input type="url" id="url-input" placeholder="Enter URL" class="bg-gray-100 h-8 w-96 rounded-md px-2 border border-gray-200">
16
- <textarea id="html-input" class="hidden bg-gray-100 h-8 w-96 rounded-md px-2 border border-gray-200" placeholder="Paste HTML here"></textarea>
17
  <label>
18
  <input type="checkbox" id="extract-main-content"> Extract main content
19
  </label>
 
9
  <body>
10
  <div class="w-dvh grid h-dvh grid-rows-[50px,1fr] overflow-hidden max-2xl:text-sm">
11
  <div class="flex px-3 items-center gap-3 2xl:gap-5 whitespace-nowrap">
12
+ <input type="url" id="url-input" placeholder="Enter URL" class="bg-gray-100 h-8 w-96 rounded-md px-2 border border-gray-200">
13
+ <input type="text" id="html-input" class="hidden bg-gray-100 h-8 w-96 rounded-md px-2 border border-gray-200" placeholder="Paste HTML here">
14
  <label>
15
  <input type="checkbox" id="input-html-toggle"> Input HTML
16
  </label>
 
 
17
  <label>
18
  <input type="checkbox" id="extract-main-content"> Extract main content
19
  </label>