diff --git a/src/Components/CardImage.jsx b/src/Components/CardImage.jsx
index 9a150f9d..0db27911 100644
--- a/src/Components/CardImage.jsx
+++ b/src/Components/CardImage.jsx
@@ -16,11 +16,9 @@ export default function CardImage(props) {
color: props.card.upped ? '#000' : '#fff',
...props.style,
}}>
-
- {props.card.name}
-
+ {props.card.name}
{!!props.card.cost && (
-
+
{props.card.cost}
diff --git a/ui.css b/ui.css
index 71c15633..ec1a3e1e 100644
--- a/ui.css
+++ b/ui.css
@@ -166,6 +166,16 @@ select:hover:active {
white-space: nowrap;
justify-content: space-between;
}
+.cardslot > .name {
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.cardslot > .cost {
+ display: flex;
+ align-items: center;
+ flex-shrink: 0;
+ pointer-events: none;
+}
.maintitle {
font-size: 16px;
text-align: center;