mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 08:20:34 +00:00
rework position prop
This commit is contained in:
parent
b77909a360
commit
cd2c24d47b
8 changed files with 17 additions and 19 deletions
|
@ -62,7 +62,7 @@ export default function Component({ service }) {
|
|||
/>
|
||||
|
||||
{sensorData && !error && (
|
||||
<Block position={{bottom: 3, left: 3}}>
|
||||
<Block position="bottom-3 left-3">
|
||||
{sensorData.warning && (
|
||||
<div className="text-xs opacity-50">
|
||||
{sensorData.warning}{sensorData.unit} {t("glances.warn")}
|
||||
|
@ -76,7 +76,7 @@ export default function Component({ service }) {
|
|||
</Block>
|
||||
)}
|
||||
|
||||
<Block position={{bottom: 3, right: 3}}>
|
||||
<Block position="bottom-3 right-3">
|
||||
<div className="text-xs opacity-75">
|
||||
{t("common.number", {
|
||||
value: sensorData.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue