fix UI
This commit is contained in:
@@ -34,19 +34,33 @@ onMounted(receive)
|
|||||||
.hitokoto {
|
.hitokoto {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-end;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hitokoto .sentence {
|
.hitokoto .sentence {
|
||||||
|
width: 100%;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hitokoto .from {
|
.hitokoto .from {
|
||||||
float: right;
|
width: 100%;
|
||||||
|
max-width: 400px;
|
||||||
|
text-align: right;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
line-height: 16px;
|
||||||
color: grey;
|
color: grey;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user