fix: mobile card left-align (!items-start !justify-start override Button center)
Button base has inline-flex items-center justify-center — overriding with !important Tailwind utilities for mobile cards. SW cache v6→v7.
This commit is contained in:
parent
921b7dbf00
commit
7b773dd4aa
|
|
@ -1,8 +1,8 @@
|
||||||
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
const isLocalhost = self.location.hostname === "localhost" || self.location.hostname === "127.0.0.1";
|
||||||
|
|
||||||
if (!isLocalhost) {
|
if (!isLocalhost) {
|
||||||
const STATIC_CACHE = "construction-delivery-static-v6";
|
const STATIC_CACHE = "construction-delivery-static-v7";
|
||||||
const RUNTIME_CACHE = "construction-delivery-runtime-v6";
|
const RUNTIME_CACHE = "construction-delivery-runtime-v7";
|
||||||
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];
|
const APP_SHELL_URLS = ["/", "/index.html", "/manifest.webmanifest", "/icons/icon-192.png", "/icons/icon-512.png"];
|
||||||
|
|
||||||
self.addEventListener("install", (event) => {
|
self.addEventListener("install", (event) => {
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ export const OrdersTable = ({
|
||||||
key={group.id}
|
key={group.id}
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
onClick={() => onOpenOrder(group.id)}
|
onClick={() => onOpenOrder(group.id)}
|
||||||
className={[baseClass, selectedClass].join(" ")}
|
className={[baseClass, selectedClass, "!flex !text-left !items-start !justify-start"].join(" ")}
|
||||||
>
|
>
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
<div className="grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3">
|
<div className="grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue