mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
fix: description style with newline (#246)
This commit is contained in:
parent
96a90eea25
commit
97f2ce043b
1 changed files with 13 additions and 1 deletions
|
|
@ -108,8 +108,11 @@
|
||||||
:showFooter="false"
|
:showFooter="false"
|
||||||
:clickOutsideHide="true"
|
:clickOutsideHide="true"
|
||||||
title="专辑介绍"
|
title="专辑介绍"
|
||||||
>{{ album.description }}</Modal
|
|
||||||
>
|
>
|
||||||
|
<p class="description-fulltext">
|
||||||
|
{{ album.description }}
|
||||||
|
</p>
|
||||||
|
</Modal>
|
||||||
<ContextMenu ref="albumMenu">
|
<ContextMenu ref="albumMenu">
|
||||||
<div class="item">{{ $t("contextMenu.playNext") }}</div>
|
<div class="item">{{ $t("contextMenu.playNext") }}</div>
|
||||||
<div class="item" @click="likeAlbum(true)">{{
|
<div class="item" @click="likeAlbum(true)">{{
|
||||||
|
|
@ -311,6 +314,7 @@ export default {
|
||||||
-webkit-line-clamp: 3;
|
-webkit-line-clamp: 3;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
white-space: pre-line;
|
||||||
&:hover {
|
&:hover {
|
||||||
transition: opacity 0.3s;
|
transition: opacity 0.3s;
|
||||||
opacity: 0.88;
|
opacity: 0.88;
|
||||||
|
|
@ -361,4 +365,12 @@ export default {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.description-fulltext {
|
||||||
|
font-size: 16px;
|
||||||
|
margin-top: 24px;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue