1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 12:23:06 +08:00

调整layui-main样式更新导致的尺寸问题

This commit is contained in:
koogua 2022-09-21 17:44:25 +08:00
parent aa8bab64b7
commit 387b767fac
2 changed files with 10 additions and 12 deletions

View File

@ -120,7 +120,7 @@
} }
.layout-sidebar { .layout-sidebar {
width: 320px; width: 340px;
} }
.writer-content { .writer-content {
@ -306,8 +306,8 @@
} }
.index-carousel { .index-carousel {
width: 1100px; width: 1120px;
height: 330px; height: 336px;
text-align: center; text-align: center;
} }
@ -748,7 +748,7 @@
.toolbar-sticky { .toolbar-sticky {
position: fixed; position: fixed;
top: 150px; top: 150px;
margin-left: -65px; margin-left: -85px;
} }
.toolbar-sticky .item { .toolbar-sticky .item {
@ -805,8 +805,8 @@
} }
.course-card .cover img { .course-card .cover img {
width: 270px; width: 275px;
height: 152px; height: 155px;
transition: all 0.6s; transition: all 0.6s;
} }
@ -1220,10 +1220,9 @@
} }
.sidebar-course-card .cover { .sidebar-course-card .cover {
float: left;
width: 90px; width: 90px;
height: 50px; height: 50px;
margin-right: 5px; margin-right: 10px;
} }
.sidebar-course-card .cover img { .sidebar-course-card .cover img {
@ -1232,8 +1231,7 @@
} }
.sidebar-course-card .info { .sidebar-course-card .info {
float: left; width: 200px;
width: 190px;
color: #666; color: #666;
font-size: 12px; font-size: 12px;
overflow: hidden; overflow: hidden;
@ -1845,7 +1843,7 @@
} }
.my-sidebar { .my-sidebar {
width: 220px; width: 240px;
} }
.my-content { .my-content {

View File

@ -6,7 +6,7 @@ layui.use(['carousel', 'flow'], function () {
carousel.render({ carousel.render({
elem: '#carousel', elem: '#carousel',
width: '100%', width: '100%',
height: '330px' height: '336px'
}); });
flow.lazyimg(); flow.lazyimg();