Skip to content

Commit

Permalink
oh-clock-card: Remove (broken) background property in favour of sty…
Browse files Browse the repository at this point in the history
…le config (#2932)

This avoids confusion because `background` is not working anymore.
Use `style: background: ` instead.

---------

Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 authored Dec 19, 2024
1 parent a907cc3 commit 56e0ebe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions bundles/org.openhab.ui/doc/components/oh-clock-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ Display a digital clock in a card
<PropOption value="HH:mm:ss" label="Current time ('HH:mm:ss')" />
</PropOptions>
</PropBlock>
<PropBlock type="TEXT" name="background" label="Background style">
<PropDescription>
Background style (in CSS "background" attribute format)
</PropDescription>
</PropBlock>
<PropBlock type="TEXT" name="timeFontSize" label="Time Font Size">
<PropDescription>
Time font size (e.g. "34px")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ export const OhClockCardDefinition = () => new WidgetDefinition('oh-clock-card',
{ value: 'LT', label: 'Localized time (\'LT\'. e.g. \'8:02 PM\')' },
{ value: 'HH:mm:ss', label: 'Current time (\'HH:mm:ss\')' }
], false),
pt('background', 'Background style', 'Background style (in CSS "background" attribute format)'),
pt('timeFontSize', 'Time Font Size', 'Time font size (e.g. "34px")'),
pt('timeFontWeight', 'Time Font Weight', 'Time font weight (e.g. "normal" or "bold")'),
pb('showDate', 'Show the date', 'Show the current date in addition to the time'),
Expand Down

0 comments on commit 56e0ebe

Please sign in to comment.