tweak streaming widget spacings

This commit is contained in:
Ben Phelps
2022-09-15 19:53:48 +03:00
parent e2bc541089
commit 05427253b9
2 changed files with 6 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ function SingleSessionEntry({ playCommand, session }) {
{SeriesName && ` - ${SeriesName}`}
</div>
</div>
<div className="self-center text-xs flex justify-end mr-1">
<div className="self-center text-xs flex justify-end mr-1.5 pl-1">
{IsVideoDirect && <MdOutlineSmartDisplay className="opacity-50" />}
{!IsVideoDirect && (!VideoDecoderIsHardware || !VideoEncoderIsHardware) && <BsCpu className="opacity-50" />}
{!IsVideoDirect && VideoDecoderIsHardware && VideoEncoderIsHardware && (
@@ -140,7 +140,7 @@ function SessionEntry({ playCommand, session }) {
</div>
<div className="self-center text-xs flex justify-end mr-1 z-10">{IsMuted && <BsVolumeMuteFill />}</div>
<div className="self-center text-xs flex justify-end mr-1 z-10">{ticksToString(PositionTicks)}</div>
<div className="self-center items-center text-xs flex justify-end mr-2 z-10">
<div className="self-center items-center text-xs flex justify-end mr-1.5 pl-1 z-10">
{IsVideoDirect && <MdOutlineSmartDisplay className="opacity-50" />}
{!IsVideoDirect && (!VideoDecoderIsHardware || !VideoEncoderIsHardware) && <BsCpu className="opacity-50" />}
{!IsVideoDirect && VideoDecoderIsHardware && VideoEncoderIsHardware && <BsFillCpuFill className="opacity-50" />}