feat: update examples to tailwind v4 (#3943)
* feat: update examples to tailwind v4 --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
f963958c3f
commit
4276b9b23e
11 files changed
+1344
-2063
No files matched your search
@@ -35,7 +35,7 @@ pub fn nav() -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
a { class: "flex-shrink-0 xl:mx-auto text-3xl font-bold font-heading",
|
||||
a { class: "shrink-0 xl:mx-auto text-3xl font-bold font-heading",
|
||||
href: "/",
|
||||
img { class: "h-9",
|
||||
width: "auto",
|
||||
@@ -121,7 +121,7 @@ pub fn nav() -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
input { class: "block mb-10 py-5 px-8 bg-gray-100 rounded-md border-transparent focus:ring-blue-300 focus:border-blue-300 focus:outline-none",
|
||||
input { class: "block mb-10 py-5 px-8 bg-gray-100 rounded-md border-transparent focus:ring-blue-300 focus:border-blue-300 focus:outline-hidden",
|
||||
r#type: "search",
|
||||
placeholder: "Search",
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ pub fn product_page(product_id: ReadOnlySignal<usize>) -> Element {
|
||||
onclick: move |_| quantity += 1,
|
||||
icons::icon_2 {}
|
||||
}
|
||||
input { class: "w-12 m-0 px-2 py-4 text-center md:text-right border-0 focus:ring-transparent focus:outline-none rounded-md",
|
||||
input { class: "w-12 m-0 px-2 py-4 text-center md:text-right border-0 focus:ring-transparent focus:outline-hidden rounded-md",
|
||||
placeholder: "1",
|
||||
r#type: "number",
|
||||
value: "{quantity}",
|
||||
|
||||
Reference in new issue
Block a user