线上课tabs样式优化

This commit is contained in:
禺狨 2023-04-20 09:57:13 +08:00
parent 947e48fe0d
commit 53132ffd3c
2 changed files with 7 additions and 2 deletions

View File

@ -557,7 +557,7 @@ textarea.ant-input {
.ant-tabs-tab {
font-size: 16px !important;
font-weight: 500;
padding: 10px 24px !important;
padding: 10px 30px !important;
.ant-tabs-tab-btn {
line-height: 20px;
}

View File

@ -335,7 +335,12 @@ const CoursePage = () => {
<>
<div className="tree-main-body">
<div className="left-box">
<Tabs defaultActiveKey="1" items={items} onChange={onChange} />
<Tabs
defaultActiveKey="1"
centered
items={items}
onChange={onChange}
/>
</div>
<div className="right-box">
<div className="playedu-main-title float-left mb-24">