fix UI
Some checks failed
Deploy / deploy (build, debian, 22, /root/OJDeploy/data/clientnext) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822, /root/OJ/data/dist) (push) Has been cancelled

This commit is contained in:
2026-05-03 10:22:03 -06:00
parent 6ae879ba80
commit e6e4d71b1c
2 changed files with 36 additions and 6 deletions

View File

@@ -34,19 +34,31 @@ onMounted(receive)
.hitokoto {
cursor: pointer;
height: 34px;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: center;
text-align: right;
}
.hitokoto .sentence {
max-width: 400px;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
white-space: nowrap;
line-height: 18px;
}
.hitokoto .from {
float: right;
width: 100%;
text-align: right;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-size: 12px;
line-height: 16px;
color: grey;
}
</style>