rework position prop

This commit is contained in:
Ben Phelps 2023-08-01 16:39:46 +03:00
parent b77909a360
commit cd2c24d47b
8 changed files with 17 additions and 19 deletions

View file

@ -76,7 +76,7 @@ export default function Component({ service }) {
/>
{currentRate && !error && (
<Block position={{bottom: 3, left: 3}}>
<Block position="bottom-3 left-3">
<div className="text-xs opacity-50">
{t("common.bitrate", {
value: currentRate.a,
@ -90,7 +90,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.bitrate", {
value: currentRate.a + currentRate.b,