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:20:34 -06:00
parent bdf19ebb43
commit 4ad4ab52df
2 changed files with 3 additions and 4 deletions

View File

@@ -306,7 +306,7 @@ function rowProps(row: ProblemFiltered) {
<style scoped>
.problem-list-toolbar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-columns: minmax(0, auto) minmax(320px, 1fr);
align-items: start;
gap: 12px 16px;
}
@@ -317,7 +317,8 @@ function rowProps(row: ProblemFiltered) {
.problem-list-hitokoto {
justify-self: end;
width: min(400px, 30vw);
width: 100%;
max-width: 720px;
min-width: 0;
}
</style>

View File

@@ -44,7 +44,6 @@ onMounted(receive)
.hitokoto .sentence {
width: 100%;
max-width: 400px;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
@@ -54,7 +53,6 @@ onMounted(receive)
.hitokoto .from {
width: 100%;
max-width: 400px;
text-align: right;
text-overflow: ellipsis;
overflow: hidden;