fix
This commit is contained in:
1 file changed
+5
-2
+5
-2
@@ -43,7 +43,7 @@ export default function App () {
|
||||
<p>
|
||||
{d.name} <span className='text-sm'>({d.mount_point})</span>
|
||||
</p>
|
||||
<p>{prettyBytes(d.total_space)}</p>
|
||||
<p>{prettyBytes(d.total_space)} total</p>
|
||||
<div className='w-full h-2 bg-(--col6) rounded overflow-hidden'>
|
||||
<div
|
||||
className={`h-full ${
|
||||
@@ -61,7 +61,10 @@ export default function App () {
|
||||
</div>
|
||||
<div className='flex flex-col absolute right-2 text-right top-0.75'>
|
||||
<p>{usedPercent.toFixed(1)}%</p>
|
||||
<p>{prettyBytes(d.total_space - d.available_space)} Free</p>
|
||||
<p>
|
||||
{prettyBytes(d.available_space)} free /{' '}
|
||||
{prettyBytes(d.total_space - d.available_space)} used
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user