全局列表字段不换行
This commit is contained in:
parent
8bab982a7b
commit
b53b63532e
11
src/App.vue
11
src/App.vue
@ -58,4 +58,13 @@ const watermarkProps = computed<WatermarkProps>(() => {
|
|||||||
</NConfigProvider>
|
</NConfigProvider>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style >
|
||||||
|
/* 强制所有表格单元格不换行 */
|
||||||
|
.n-data-table td {
|
||||||
|
white-space: nowrap !important;
|
||||||
|
overflow: hidden !important;
|
||||||
|
text-overflow: ellipsis !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user