This commit is contained in:
Rizky 2024-08-20 17:11:26 +07:00
parent 82bfeaa829
commit 1d37ad45cb
2 changed files with 9 additions and 1 deletions

View File

@ -164,3 +164,11 @@ model page_history {
ts String
page page @relation(fields: [id_page], references: [id], onDelete: NoAction, onUpdate: NoAction)
}
model deploy_target {
id String @id(map: "deploy_target_id") @default(dbgenerated("gen_random_uuid()")) @db.Uuid
id_site Int
name String
api_url String
domain String
}

View File

@ -177,7 +177,7 @@ export const Root = () => {
let mobileCSS = "";
if (base.page.root.responsive === "mobile") {
if (base.page.root.responsive === "mobile" || base.mode === "mobile") {
base.mode = "mobile";
mobileCSS = css`
@media (min-width: 1280px) {