Skip to content

Commit 6b834fd

Browse files
committed
fix(admin): app names not overflowing properly
1 parent 9efff20 commit 6b834fd

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

packages/admin/src/components/AppCard.vue

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ const copyApp = async (id: string) => {
7474

7575
<template>
7676
<v-card>
77-
<v-card-title class="d-flex justify-space-between align-center">
78-
{{ app.name }}
77+
<v-card-title>
78+
<span title="{{ app.name }}">{{ app.name }}</span>
7979
<v-menu
8080
v-model="menu"
8181
:position-x="menuPosition.x"
@@ -132,3 +132,20 @@ const copyApp = async (id: string) => {
132132
@submit="onCredentialsSubmit"
133133
/>
134134
</template>
135+
136+
<style scoped>
137+
.v-card-title {
138+
display: flex;
139+
align-items: center;
140+
justify-content: space-between;
141+
column-gap: 0.5rem;
142+
}
143+
144+
.v-card-title span {
145+
flex: 1;
146+
min-width: 0;
147+
overflow: hidden;
148+
text-overflow: ellipsis;
149+
white-space: nowrap;
150+
}
151+
</style>

0 commit comments

Comments
 (0)