mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-19 02:59:50 +00:00
rework position prop
This commit is contained in:
parent
b77909a360
commit
cd2c24d47b
8 changed files with 17 additions and 19 deletions
|
@ -36,7 +36,7 @@ export default function Component({ service }) {
|
|||
|
||||
return (
|
||||
<Container>
|
||||
<Block position={{top: 4, right: 3, left: 3}}>
|
||||
<Block position="top-4 right-3 left-3">
|
||||
<div className="flex items-center text-xs">
|
||||
<div className="grow" />
|
||||
<div className="w-14 text-right italic">{t("resources.cpu")}</div>
|
||||
|
@ -44,7 +44,7 @@ export default function Component({ service }) {
|
|||
</div>
|
||||
</Block>
|
||||
|
||||
<Block position={{bottom: 4, right: 3, left: 3}}>
|
||||
<Block position="bottom-4 right-3 left-3">
|
||||
<div className="pointer-events-none text-theme-900 dark:text-theme-200">
|
||||
{ data.map((item) => <div key={item.pid} className="text-[0.75rem] h-[0.8rem]">
|
||||
<div className="flex items-center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue