diff --git a/src/pages/course/compenents/create.module.less b/src/pages/course/compenents/create.module.less index 4999544..53c6fbb 100644 --- a/src/pages/course/compenents/create.module.less +++ b/src/pages/course/compenents/create.module.less @@ -32,14 +32,17 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 8px; + padding: 8px 8px 0px 8px; margin-left: 42px; + display: flex; + flex-direction: column; .no-hours { height: 24px; font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; + margin-top: 8px; } } @@ -74,14 +77,17 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 8px; + padding: 8px 8px 0px 8px; margin-top: 16px; + display: flex; + flex-direction: column; .no-hours { height: 24px; font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; + margin-top: 8px; } } } diff --git a/src/pages/course/compenents/hour-update.module.less b/src/pages/course/compenents/hour-update.module.less index 016f856..1c6f80b 100644 --- a/src/pages/course/compenents/hour-update.module.less +++ b/src/pages/course/compenents/hour-update.module.less @@ -52,14 +52,17 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 8px; + padding: 8px 8px 0px 8px; margin-left: 42px; + display: flex; + flex-direction: column; .no-hours { height: 24px; font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; + margin-top: 8px; } } @@ -94,14 +97,17 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 8px; + padding: 8px 8px 0px 8px; margin-top: 16px; + display: flex; + flex-direction: column; .no-hours { height: 24px; font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; + margin-top: 8px; } } }