mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2024-12-29 16:01:51 +00:00
fix text overflow in announcement、problem and submission_details
This commit is contained in:
parent
1930292ef7
commit
3b41ab15fc
@ -6,7 +6,9 @@
|
||||
<div slot="extra" class="panel-extra">
|
||||
<slot name="extra"></slot>
|
||||
</div>
|
||||
<slot></slot>
|
||||
<div class="panel-body">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</Card>
|
||||
</template>
|
||||
|
||||
@ -59,4 +61,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.panel-body {
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
</style>
|
||||
|
@ -99,7 +99,7 @@
|
||||
style: {
|
||||
padding: '2px 0'
|
||||
}
|
||||
}, params.row.title)
|
||||
}, params.row._id)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -158,6 +158,11 @@
|
||||
span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user