fix HP
Browse files
src/lib/components/Battle/PicletInfo.svelte
CHANGED
@@ -33,8 +33,7 @@
|
|
33 |
<!-- HP Text (Player only) -->
|
34 |
{#if isPlayer}
|
35 |
<div class="hp-text">
|
36 |
-
<span class="hp-
|
37 |
-
<span class="hp-values">{displayHp}/{piclet.maxHp}</span>
|
38 |
</div>
|
39 |
|
40 |
<!-- XP Bar (Player only) -->
|
@@ -122,20 +121,13 @@
|
|
122 |
|
123 |
/* HP Text */
|
124 |
.hp-text {
|
125 |
-
display: flex;
|
126 |
-
justify-content: space-between;
|
127 |
-
align-items: center;
|
128 |
font-size: 11px;
|
129 |
color: #666;
|
130 |
margin-bottom: 4px;
|
131 |
}
|
132 |
|
133 |
-
.hp-label {
|
134 |
-
font-weight: 600;
|
135 |
-
}
|
136 |
-
|
137 |
.hp-values {
|
138 |
-
|
139 |
}
|
140 |
|
141 |
/* XP Bar */
|
|
|
33 |
<!-- HP Text (Player only) -->
|
34 |
{#if isPlayer}
|
35 |
<div class="hp-text">
|
36 |
+
<span class="hp-values">{displayHp}/{piclet.maxHp} HP</span>
|
|
|
37 |
</div>
|
38 |
|
39 |
<!-- XP Bar (Player only) -->
|
|
|
121 |
|
122 |
/* HP Text */
|
123 |
.hp-text {
|
|
|
|
|
|
|
124 |
font-size: 11px;
|
125 |
color: #666;
|
126 |
margin-bottom: 4px;
|
127 |
}
|
128 |
|
|
|
|
|
|
|
|
|
129 |
.hp-values {
|
130 |
+
font-weight: 600;
|
131 |
}
|
132 |
|
133 |
/* XP Bar */
|