Skip to content

Commit

Permalink
fix: config flex style (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: fusikai <[email protected]>
  • Loading branch information
linthan and fusikai authored Feb 8, 2023
1 parent 74b9e6f commit 28d5c41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/config/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const staticPrefix = env === 'development' ? '' : '/ant';

export default [
staticPrefix + '/js/codemirror/v5.62.3/lib/codemirror.css',
staticPrefix + '/js/antd/v4.3.4/antd.css'
// staticPrefix + '/js/antd/v4.3.4/antd.css'
];
3 changes: 3 additions & 0 deletions assets/src/pages/app/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,12 @@
.viewContent {
:global {
.ant-tabs-content {
display: flex;
height: 100%;
}

.ant-tabs-tabpane {
flex: 1;
position: relative;
overflow-x: hidden;
overflow-y: hidden;
Expand All @@ -139,6 +141,7 @@
margin-top: 6px;
}
}

.ant-tabs-tab-btn {
font-weight: 500;
font-size: 16px;
Expand Down

0 comments on commit 28d5c41

Please sign in to comment.