diff --git a/src/pages/course/index.module.scss b/src/pages/course/index.module.scss index 38ecc86..6667024 100644 --- a/src/pages/course/index.module.scss +++ b/src/pages/course/index.module.scss @@ -101,7 +101,7 @@ align-items: center; position: relative; .tab-item { - width: 64px; + min-width: 64px; height: 48px; margin-right: 50px; transition: all 0.2s; @@ -114,7 +114,7 @@ } } .tit { - width: 64px; + width: 100%; height: 40px; font-size: 16px; font-weight: 400; @@ -123,7 +123,7 @@ } } .tab-active-item { - width: 64px; + min-width: 64px; height: 48px; cursor: pointer; margin-right: 50px; @@ -133,7 +133,7 @@ opacity: 0.8; } .tit { - width: 64px; + width: 100%; height: 40px; font-size: 16px; font-weight: 500;