desc: 调整样式

This commit is contained in:
zyy 2019-08-16 18:23:36 +08:00
parent 9648263a88
commit 049ed8f0dd

View File

@ -32,7 +32,7 @@
@click="showMap"
>{{ $t('map.viewLayer') }}</el-button>
</div>
<el-tabs v-model="enabledTab" type="card">
<el-tabs v-model="enabledTab" class="mapEdit" type="card">
<el-tab-pane :label="$t('map.link')" name="Link">
<link-draft
ref="Link"
@ -402,16 +402,26 @@ export default {
}
/deep/ {
.el-tabs__nav-wrap.is-scrollable {
padding: 0 40px;
.mapEdit .el-tabs__nav-wrap.is-scrollable {
padding: 0 20px;
}
.el-tabs__nav-prev {
left: 15px;
.mapEdit .el-tabs__nav-prev {
width: 20px;
height: 41px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 1px 1px 4px #ccc;
}
.el-tabs__nav-next {
right: 15px;
.mapEdit .el-tabs__nav-next {
width: 20px;
height: 41px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 1px 1px 4px #ccc;
}
}
</style>