Skip to content

Commit

Permalink
fix(table): wrong bg-color in fullscreen mode
Browse files Browse the repository at this point in the history
修复浅色主题下的table在全屏状态时背景颜色不正确的问题
  • Loading branch information
mynetfan committed Aug 10, 2021
1 parent 019555b commit 2052eb5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- 修复`CellFormat`无法使用`Map`类型数据的问题
- 修复可编辑单元格未能正确显示`0`值的问题
- 修复 selection-change 事件在取消勾选时未能正确触发的问题
- 修复浅色主题下的全屏状态背景颜色不正确的问题
- **Qrcode** 修复二维码组件在创建时未能及时绘制的问题

## 2.7.0(2021-08-03)
Expand Down
4 changes: 4 additions & 0 deletions src/design/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ html[data-theme='light'] {
background-color: #fffbe6;
border: 1px solid #ffe58f;
}

:not(:root):fullscreen::backdrop {
background-color: @layout-body-background !important;
}
}

[data-theme='dark'] {
Expand Down
1 change: 1 addition & 0 deletions src/views/demo/table/FormTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
useSearchForm: true,
formConfig: getFormConfig(),
showTableSetting: true,
tableSetting: { fullScreen: true },
showIndexColumn: false,
rowKey: 'id',
});
Expand Down

0 comments on commit 2052eb5

Please sign in to comment.