style: Improve overall app component paddings and margins and rollback vite to 5.1.6

This commit is contained in:
Prayag Prajapati committed 2024-03-25 11:30:45 +05:30
1 parent 1f724f027c
commit 08e633524a
27 files changed
+357 -335

No files matched your search

+10 -3
View File
@@ -283,7 +283,7 @@ const PlayButton = ({
{...buttonProps}
>
<div
className="material-symbols-rounded em-4"
className="material-symbols-rounded em-4 fill"
style={{
fontSize: "3em",
}}
@@ -300,7 +300,7 @@ const PlayButton = ({
onClick={handleClick}
startIcon={
<div
className="material-symbols-rounded"
className="material-symbols-rounded fill"
style={{
fontSize: "2em",
}}
@@ -335,7 +335,14 @@ const PlayButton = ({
}}
color="white"
/>
{itemUserData.PlaybackPositionTicks > 0 ? "Resume" : "Play"}
{itemUserData.PlaybackPositionTicks > 0
? "Continue Watching"
: item?.Type === "MusicAlbum" ||
item?.Type === "Audio" ||
item?.Type === "AudioBook" ||
item?.Type === "Playlist"
? "Play Now"
: "Watch Now"}
</Button>
);
};