feat: form 组件样式调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<template>
|
||||
<div class="ns-table-header" v-if="!isEmpty(getActions)">
|
||||
<div class="ns-table-title extra-title-box" v-if="tableTitle">{{ tableTitle }}</div>
|
||||
<div class="ns-table-title ns-title-extra-box" v-if="tableTitle">{{ tableTitle }}</div>
|
||||
<div class="ns-table-header-action">
|
||||
<slot name="header" :data="data"></slot>
|
||||
<template v-for="item in getActions" :key="item.name">
|
||||
@@ -75,21 +75,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.extra-title-box {
|
||||
position: relative;
|
||||
padding-left: 9px;
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
height: 13px;
|
||||
width: 3px;
|
||||
border-radius: 1px;
|
||||
background-color: @primary-color;
|
||||
}
|
||||
}
|
||||
.ns-table-header {
|
||||
min-width: fit-content;
|
||||
user-select: none;
|
||||
|
Reference in New Issue
Block a user