Skip to content

Commit

Permalink
fix: center container icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaUnknown committed Aug 25, 2024
1 parent 91861cc commit 4712ae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/views/Player/Player.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@
{#if 'audioTracks' in HTMLVideoElement.prototype && video?.audioTracks?.length > 1}
<div class='dropdown dropup with-arrow' use:click={toggleDropdown}>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Audio Tracks'>
<ListMusic size='2.5rem' strokeWidth={2.5} />
<ListMusic size='2.5rem' strokeWidth={2.5} class='h-full' />
</span>
<div class='dropdown-menu dropdown-menu-left ctrl custom-radio p-10 pb-5 text-capitalize'>
{#each video.audioTracks as track}
Expand All @@ -1237,7 +1237,7 @@
{#if 'videoTracks' in HTMLVideoElement.prototype && video?.videoTracks?.length > 1}
<div class='dropdown dropup with-arrow'>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Video Tracks'>
<ListVideo size='2.5rem' strokeWidth={2.5} />
<ListVideo size='2.5rem' strokeWidth={2.5} class='h-full' />
</span>
<div class='dropdown-menu dropdown-menu-left ctrl custom-radio p-10 pb-5 text-capitalize'>
{#each video.videoTracks as track}
Expand All @@ -1252,7 +1252,7 @@
{#if subHeaders?.length}
<div class='subtitles dropdown dropup with-arrow' use:click={toggleDropdown}>
<span class='icon ctrl mr-5 d-flex align-items-center' title='Subtitles [C]'>
<Captions size='2.5rem'strokeWidth={2.5} />
<Captions size='2.5rem'strokeWidth={2.5} class='h-full' />
</span>
<div class='dropdown-menu dropdown-menu-right ctrl custom-radio p-10 pb-5 text-capitalize'>
<input name='subtitle-radio-set' type='radio' id='subtitle-off-radio' value='off' checked={subHeaders && subs?.current === -1} />
Expand Down

0 comments on commit 4712ae9

Please sign in to comment.