Fix: コミュニティ、チャンネルのタイトルがはみ出ても三点リーダにならない問題
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
>
|
>
|
||||||
<div class="community-top-info">
|
<div class="community-top-info">
|
||||||
<Icon icon="material-symbols:chat-rounded" />
|
<Icon icon="material-symbols:chat-rounded" />
|
||||||
{{ channel.name }}
|
<span>{{ channel.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.community-top-info svg {
|
.community-top-info > svg {
|
||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
width: 1.25rem;
|
width: 1.25rem;
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
>
|
>
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="community-top-info">
|
<div class="community-top-info">
|
||||||
{{ presentCommunity.name }}
|
<span>{{ presentCommunity.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="channels">
|
<div class="channels">
|
||||||
@@ -43,15 +43,18 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.community-top-info > span {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user