diff --git a/src/pages/course/compenents/create.module.less b/src/pages/course/compenents/create.module.less index 779eb4e..26e0ddd 100644 --- a/src/pages/course/compenents/create.module.less +++ b/src/pages/course/compenents/create.module.less @@ -22,7 +22,7 @@ } .hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -32,7 +32,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-left: 42px; .no-hours { height: 24px; @@ -40,7 +40,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } @@ -65,7 +64,7 @@ margin-right: 24px; } .chapter-hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -75,7 +74,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-top: 16px; .no-hours { height: 24px; @@ -83,7 +82,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } } diff --git a/src/pages/course/compenents/hour-update.module.less b/src/pages/course/compenents/hour-update.module.less index 80e90f4..f519010 100644 --- a/src/pages/course/compenents/hour-update.module.less +++ b/src/pages/course/compenents/hour-update.module.less @@ -42,7 +42,7 @@ } .hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -52,7 +52,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-left: 42px; .no-hours { height: 24px; @@ -60,7 +60,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } @@ -85,7 +84,7 @@ margin-right: 24px; } .chapter-hous-box { - width: 502px; + width: 500.53px; min-height: 56px; background: #ffffff; border-radius: 6px; @@ -95,7 +94,7 @@ /* Firefox */ -webkit-box-sizing: border-box; /* Safari */ - padding: 16px 16px 16px 0; + padding: 16px; margin-top: 16px; .no-hours { height: 24px; @@ -103,7 +102,6 @@ font-weight: 400; color: rgba(0, 0, 0, 0.25); line-height: 24px; - margin-left: 16px; } } } diff --git a/src/pages/course/compenents/update.module.less b/src/pages/course/compenents/update.module.less index 779eb4e..b44cb43 100644 --- a/src/pages/course/compenents/update.module.less +++ b/src/pages/course/compenents/update.module.less @@ -20,70 +20,3 @@ margin-right: 0; } } - -.hous-box { - width: 502px; - min-height: 56px; - background: #ffffff; - border-radius: 6px; - border: 1px solid rgba(0, 0, 0, 0.15); - box-sizing: border-box; - -moz-box-sizing: border-box; - /* Firefox */ - -webkit-box-sizing: border-box; - /* Safari */ - padding: 16px 16px 16px 0; - margin-left: 42px; - .no-hours { - height: 24px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.25); - line-height: 24px; - margin-left: 16px; - } -} - -.chapter-item { - width: 502px; - height: auto; - display: flex; - flex-direction: column; - margin-left: 42px; - margin-bottom: 16px; - .label { - width: 78px; - height: 32px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.85); - line-height: 32px; - } - .input { - width: 208px; - height: 32px; - margin-right: 24px; - } - .chapter-hous-box { - width: 502px; - min-height: 56px; - background: #ffffff; - border-radius: 6px; - border: 1px solid rgba(0, 0, 0, 0.15); - box-sizing: border-box; - -moz-box-sizing: border-box; - /* Firefox */ - -webkit-box-sizing: border-box; - /* Safari */ - padding: 16px 16px 16px 0; - margin-top: 16px; - .no-hours { - height: 24px; - font-size: 14px; - font-weight: 400; - color: rgba(0, 0, 0, 0.25); - line-height: 24px; - margin-left: 16px; - } - } -}