Update autoscreens to use better spectrum-compatible styles and fonts

This commit is contained in:
Andrew Kingston 2021-05-25 10:15:10 +01:00
parent 6c960dd9e2
commit 41fb234499
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ function generateTitleContainer(table) {
flex: "1 1 auto", flex: "1 1 auto",
"text-transform": "capitalize", "text-transform": "capitalize",
}) })
.type("h3") .type("h2")
.instanceName("Title") .instanceName("Title")
.text(table.name) .text(table.name)

View File

@ -97,7 +97,7 @@ export function makeSaveButton(table, formId) {
"border-width": "0", "border-width": "0",
"border-style": "None", "border-style": "None",
color: "#fff", color: "#fff",
"font-weight": "500", "font-weight": "600",
"font-size": "14px", "font-size": "14px",
"margin-left": "16px", "margin-left": "16px",
}) })
@ -144,7 +144,7 @@ export function makeTitleContainer(title) {
flex: "1 1 auto", flex: "1 1 auto",
}) })
.customStyle(spectrumColor(900)) .customStyle(spectrumColor(900))
.type("h3") .type("h2")
.instanceName("Title") .instanceName("Title")
.text(title) .text(title)