diff options
Diffstat (limited to 'src/lib/minecraft/heads')
-rw-r--r-- | src/lib/minecraft/heads/Head2d.svelte | 6 | ||||
-rw-r--r-- | src/lib/minecraft/heads/Head3d.svelte | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/lib/minecraft/heads/Head2d.svelte b/src/lib/minecraft/heads/Head2d.svelte index d4e9ca8..9d71551 100644 --- a/src/lib/minecraft/heads/Head2d.svelte +++ b/src/lib/minecraft/heads/Head2d.svelte @@ -6,7 +6,7 @@ <img loading="lazy" class="head head2d" - class:userHead={isPartOfUsername} + class:player-head={isPartOfUsername} src="https://crafatar.com/avatars/{player.uuid}?size=8&overlay" alt="{player.username}'s face" /> @@ -27,4 +27,8 @@ height: 1em; width: 1em; } + + .player-head { + margin-right: 0.2em; + } </style> diff --git a/src/lib/minecraft/heads/Head3d.svelte b/src/lib/minecraft/heads/Head3d.svelte index f8d2657..2400f4b 100644 --- a/src/lib/minecraft/heads/Head3d.svelte +++ b/src/lib/minecraft/heads/Head3d.svelte @@ -6,7 +6,7 @@ <img loading="lazy" class="head head3d" - class:userHead={isPartOfUsername} + class:player-head={isPartOfUsername} src="https://www.mc-heads.net/head/{player.uuid}/128" alt="{player.username}'s head" /> @@ -24,4 +24,8 @@ height: 1em; width: 1em; } + + .player-head { + margin-right: 0.2em; + } </style> |