style: format button text and attributes

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-10 05:40:52 +08:00
1 parent 9b161b33f1
commit 22dc58747f
1 file changed
+8 -4
+8 -4
View File
@@ -17,7 +17,8 @@
placeholder="Where do you want to work today?"
style="transition: all .15s ease"
type="search">
<button class="absolute right-0 top-0 mt-2 sm:mt-3 md:mt-3 mr-2" onclick="toggleDropdown('example-collapse-dropdown')"
<button class="absolute right-0 top-0 mt-2 sm:mt-3 md:mt-3 mr-2"
onclick="toggleDropdown('example-collapse-dropdown')"
type="submit">
<img alt="" class="text-indigo-700 h-5 w-5" src="assets/svg/icon_search.svg">
</button>
@@ -261,7 +262,8 @@
children[1].style.width=value+'%';
children[5].style.left=value+'%';
children[7].style.left=value+'%';children[11].style.left=value+'%';
children[11].childNodes[1].innerHTML=this.value;" step="1" tabindex="0" type="range" value="300"/>
children[11].childNodes[1].innerHTML=this.value;" step="1" tabindex="0" type="range"
value="300"/>
<input max="1000" min="0" oninput="
this.value=Math.max(this.value,this.parentNode.childNodes[3].value-(-1));
@@ -270,14 +272,16 @@
children[3].style.width=(100-value)+'%';
children[5].style.right=(100-value)+'%';
children[9].style.left=value+'%';children[13].style.left=value+'%';
children[13].childNodes[1].innerHTML=this.value;" step="1" step="1" tabindex="0" tabindex="0" type="range" type="range" value="600"
children[13].childNodes[1].innerHTML=this.value;" step="1" step="1" tabindex="0"
tabindex="0" type="range" type="range" value="600"
value="600"/>
</div>
</div>
<div class="row-span-1 col-span-1 sm:mb-14 sm:col-start-2 md:row-start-4 md:col-start-3 lg:row-start-4 xl:col-start-4 xl:row-start-3">
<button class="relative flex justify-center items-center w-full h-12 font-light text-md bg-indigo-700 text-gray-200 active:bg-gray-100 tracking-wide capitalize rounded-none hover:shadow-md outline-none focus:outline-none"
type="button">
<img alt="" class="animate-spin absolute left-0 ml-4 h-4" src="assets/svg/icon_spinner.svg"> Search
<img alt="" class="animate-spin absolute left-0 ml-4 h-4" src="assets/svg/icon_spinner.svg">
Search
</button>
</div>