Skip to content

Commit

Permalink
font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
rlsgit committed May 18, 2024
1 parent 433402e commit 5245b32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dist/ospi-cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const DEV_MODE = 'false' === 'true';
const getDevString = (str) => (str);
const defaults = {
version: '0.4.0',
version: '0.4.1',
imageHeightDefault: 150
};
const defaultIcons = {
Expand Down Expand Up @@ -6013,7 +6013,7 @@ let OSPiStationCard = class OSPiStationCard extends s {
`;
return x `
<div style="display: flex; justify-content: center; align-items: center; padding: 10px;">
<div style="font-weight: bold; font-size: 24px;">${this.config.name}</div>
<div style="font-weight: bold; font-size: 18px;">${this.config.name}</div>
<div style="position: absolute; right: 0;">${menu}</div>
</div>
`;
Expand Down Expand Up @@ -6097,7 +6097,7 @@ let OSPiStationCard = class OSPiStationCard extends s {
}
});
}
return x `<div style="text-align: center; font-style: italic;">${this.lastRun}</div>`;
return x `<div style="text-align: center; font-style: italic; font-size: 10px">${this.lastRun}</div>`;
}
render() {
if (!this.config)
Expand Down Expand Up @@ -6435,7 +6435,7 @@ let OSPiSystemCard = class OSPiSystemCard extends s {
return x ``;
return x `
<div style="display: flex; justify-content: center; align-items: center; padding: 10px;">
<div style="font-weight: bold; font-size: 24px;">${this.config.name}</div>
<div style="font-weight: bold; font-size: 18px;">${this.config.name}</div>
</div>
`;
}
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const DEV_MODE: boolean = '__DEV_MODE__' === 'true'
export const getDevString = (str: string) => (DEV_MODE ? str + '-dev' : str)

export const defaults = {
version: '0.4.0',
version: '0.4.1',

imageHeightDefault: 150
}
Expand Down
4 changes: 2 additions & 2 deletions src/stationcard/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class OSPiStationCard extends LitElement {

return html`
<div style="display: flex; justify-content: center; align-items: center; padding: 10px;">
<div style="font-weight: bold; font-size: 24px;">${this.config.name}</div>
<div style="font-weight: bold; font-size: 18px;">${this.config.name}</div>
<div style="position: absolute; right: 0;">${menu}</div>
</div>
`
Expand Down Expand Up @@ -189,7 +189,7 @@ export default class OSPiStationCard extends LitElement {
})
}

return html`<div style="text-align: center; font-style: italic;">${this.lastRun}</div>`
return html`<div style="text-align: center; font-style: italic; font-size: 10px">${this.lastRun}</div>`
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion src/systemcard/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class OSPiSystemCard extends LitElement {

return html`
<div style="display: flex; justify-content: center; align-items: center; padding: 10px;">
<div style="font-weight: bold; font-size: 24px;">${this.config.name}</div>
<div style="font-weight: bold; font-size: 18px;">${this.config.name}</div>
</div>
`
}
Expand Down

0 comments on commit 5245b32

Please sign in to comment.