style(form): table设置width 100%

This commit is contained in:
roymondchen 2024-01-05 17:07:59 +08:00
parent 511acfdb5b
commit eeb4566a69
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="m-fields-table-wrap">
<teleport to="body" :disabled="!isFullscreen">
<div ref="mTable" class="m-fields-table" :class="{ 'm-fields-table-item-extra': config.itemExtra }">
<span v-if="config.extra" style="color: rgba(0, 0, 0, 0.45)" v-html="config.extra"></span>

View File

@ -1,3 +1,7 @@
.m-fields-table-wrap {
width: 100%;
}
.m-fields-table {
width: 100%;
&.fixed {