mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
内容导航样式调整
This commit is contained in:
@@ -2636,10 +2636,16 @@ handleClearTags() {
|
||||
/* ---end--- */
|
||||
/* ---标签管理 added by zhengsongbo on 2025-08-01--- */
|
||||
.search-div.nav {
|
||||
display: block;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
min-height: 100px;
|
||||
}
|
||||
.hot-tags-area {
|
||||
width: 100%;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.option-item {
|
||||
margin: 0px 5px;
|
||||
}
|
||||
@@ -2711,16 +2717,6 @@ a.custom2 {
|
||||
color: #387DF7 !important; // 匹配时的蓝色
|
||||
}
|
||||
|
||||
/* 添加热点标签容器样式,支持换行 */
|
||||
.hot-tags-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
padding-top: 2px;
|
||||
//margin-left: 90px; /* 为"热点标签:"文本留出空间 */
|
||||
}
|
||||
|
||||
/* 调整option-item样式以适应换行布局 */
|
||||
.option-item {
|
||||
position: relative;
|
||||
@@ -2753,13 +2749,21 @@ a.custom2 {
|
||||
}
|
||||
|
||||
.hot-tags-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(120px, max-content));
|
||||
gap: 15px 20px;
|
||||
align-items: center;
|
||||
padding-top: 2px;
|
||||
justify-items: start;
|
||||
width: 100%;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.hot-tags-wrapper .option-item {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.course-tags {
|
||||
margin: 5px 0;
|
||||
min-height: 20px;
|
||||
|
||||
Reference in New Issue
Block a user