rm unused
Browse files
src/lib/components/Battle/BattleControls.svelte
CHANGED
@@ -38,12 +38,6 @@
|
|
38 |
{onMoveSelect}
|
39 |
{onPicletSelect}
|
40 |
/>
|
41 |
-
{:else if battleEnded}
|
42 |
-
<div class="battle-end">
|
43 |
-
<button class="continue-btn" on:click={() => window.history.back()}>
|
44 |
-
Continue
|
45 |
-
</button>
|
46 |
-
</div>
|
47 |
{/if}
|
48 |
</div>
|
49 |
</div>
|
@@ -86,29 +80,4 @@
|
|
86 |
display: flex;
|
87 |
flex-direction: column;
|
88 |
}
|
89 |
-
|
90 |
-
|
91 |
-
/* Battle End */
|
92 |
-
.battle-end {
|
93 |
-
display: flex;
|
94 |
-
justify-content: center;
|
95 |
-
align-items: center;
|
96 |
-
height: 100%;
|
97 |
-
}
|
98 |
-
|
99 |
-
.continue-btn {
|
100 |
-
padding: 1rem 2rem;
|
101 |
-
background: #007bff;
|
102 |
-
color: white;
|
103 |
-
border: none;
|
104 |
-
border-radius: 8px;
|
105 |
-
font-size: 1rem;
|
106 |
-
font-weight: 600;
|
107 |
-
cursor: pointer;
|
108 |
-
transition: background 0.2s ease;
|
109 |
-
}
|
110 |
-
|
111 |
-
.continue-btn:hover {
|
112 |
-
background: #0056b3;
|
113 |
-
}
|
114 |
</style>
|
|
|
38 |
{onMoveSelect}
|
39 |
{onPicletSelect}
|
40 |
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
{/if}
|
42 |
</div>
|
43 |
</div>
|
|
|
80 |
display: flex;
|
81 |
flex-direction: column;
|
82 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
</style>
|