@@ -225,6 +226,7 @@ nav ul {
}
.avatar-icon {
+ width: 50px;
height: 50px;
border-radius: 50%;
border: 1px solid white;
@@ -233,6 +235,7 @@ nav ul {
}
.mail-icon {
+ width: 50px;
height: 50px;
border-radius: 50%;
/* border: 1px solid white; */
diff --git a/src/components/ResourceBar.astro b/src/components/ResourceBar.astro
index 38cafc0..f3f83c8 100644
--- a/src/components/ResourceBar.astro
+++ b/src/components/ResourceBar.astro
@@ -1,5 +1,6 @@
---
import { ObjectId } from 'mongodb';
+import { Image } from 'astro:assets';
import { getHighestWeightedLanguage, getLocales, getName } from '../lib/utils/langDriver';
import { getAllResources } from '../lib/db/resources';
import locationManager from '../lib/classes/managers/LocationManager';
@@ -30,7 +31,7 @@ for(const key of planet.resources.resources) {
data-res-amount={res.amount}
data-res-mining-rate={res.perHourMiningRate}
>
-

x.id === res.id)?.icon ?? "#"} alt={res.id} class="icon" />
+
x.id === res.id)?.icon ?? "#"} alt={res.id} class="icon" width={32} height={32} />
{getName(lang, 'resources', res.id)}
@@ -133,10 +134,6 @@ for(const key of planet.resources.resources) {
margin-bottom: 8px;
}
-.resourcebar-item-icon img {
- width: 100%;
-}
-
.resourcebar-item-text-wrapper {
display: flex;
flex-direction: column;