mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 16:30:31 +00:00
rework position prop
This commit is contained in:
parent
b77909a360
commit
cd2c24d47b
8 changed files with 17 additions and 19 deletions
|
@ -54,7 +54,7 @@ export default function Component({ service }) {
|
|||
/>
|
||||
|
||||
{data && !error && (
|
||||
<Block position={{bottom: 3, left: 3}}>
|
||||
<Block position="bottom-3 left-3">
|
||||
{data.free && (
|
||||
<div className="text-xs opacity-50">
|
||||
{t("common.bytes", {
|
||||
|
@ -75,7 +75,7 @@ export default function Component({ service }) {
|
|||
</Block>
|
||||
)}
|
||||
|
||||
<Block position={{bottom: 3, right: 3}}>
|
||||
<Block position="bottom-3 right-3">
|
||||
<div className="text-xs font-bold opacity-75">
|
||||
{t("common.bytes", {
|
||||
value: data.used,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue