fix: tab style

This commit is contained in:
就眠儀式 2022-04-08 06:19:28 +08:00
parent b33eff4af9
commit 0990f8a7e3
4 changed files with 9 additions and 7 deletions

View File

@ -9,7 +9,7 @@ import { computed } from "vue";
import "./index.less"; import "./index.less";
export interface LayContainerProps { export interface LayContainerProps {
fluid?: boolean | string; fluid?: boolean | string;
} }
const props = withDefaults(defineProps<LayContainerProps>(), { const props = withDefaults(defineProps<LayContainerProps>(), {

View File

@ -22,6 +22,9 @@
.layui-tab-head { .layui-tab-head {
display: inline-block; display: inline-block;
}
.layui-tab-card .layui-tab-head {
background-color: @global-neutral-color-1; background-color: @global-neutral-color-1;
} }
@ -287,4 +290,4 @@
padding: 0 10px; padding: 0 10px;
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
} }

View File

@ -79,13 +79,11 @@ export default {
::: table ::: table
| 属性 | 描述 | 可选值 | | 属性 | 描述 | 类型 | 默认值 | 可选值 |
| ----- | ------ | -------------- | | ----- | ------ | -------------- |------ | -------------- |
| fluid | 流模式 | `true` `false` | | fluid | 流模式 | `boolean` `string` | `flase` | `true` `false` |
::: :::
::: previousNext container ::: previousNext container
::: :::

View File

@ -18,6 +18,7 @@
<ul> <ul>
<li>[新增] config-provider 组件 dark-partial 属性, 夜间主题偏好配置。(by @就眠儀式)</li> <li>[新增] config-provider 组件 dark-partial 属性, 夜间主题偏好配置。(by @就眠儀式)</li>
<li>[修复] page 组件 pages 属性为单数时, 页码计算错误。(by @就眠儀式)</li> <li>[修复] page 组件 pages 属性为单数时, 页码计算错误。(by @就眠儀式)</li>
<li>[修复] button-group 组件 first-child 样式。(by @就眠儀式)</li>
<li>[修复] dark 模式 step 组件线条不显示。(by @莫名点)</li> <li>[修复] dark 模式 step 组件线条不显示。(by @莫名点)</li>
</ul> </ul>
</li> </li>