Skip to content

Commit

Permalink
1.2.2.1优化引用文本下的段落表现,增加侧边栏代码输入窗口高度,现在可显示8行
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsoftking committed May 27, 2024
1 parent 0298345 commit 472c604
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 42 deletions.
2 changes: 1 addition & 1 deletion settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ spec:
- $formkit: code
name: content
language: html
height: 100px
height: 150px
label: 侧边栏内容
placeholder: 请输入 HTML 内容
help: '非必填,仅在侧边栏类型为公告、广告(自定义广告代码)、自定义时生效。'
Expand Down
43 changes: 5 additions & 38 deletions src/css/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -3458,49 +3458,16 @@ button.swiper-pagination-bullet {
border-left: 5px solid var(--theme);
border-radius: var(--radius-inner);

& > :not(:last-child) {
& :not(:last-child) {
margin-bottom: 4px !important;
}

& > figure {
margin-top: 0 !important;
}

& > :last-child {
margin: 0 !important;

& > li:last-child {
margin-bottom: 0 !important;

& > p:last-child {
margin-bottom: 0 !important;
}
}
& :last-child {
margin-bottom: 0 !important;
}

ol,
ul {

li {

ol, ul {
&:not(:last-child) {
margin-bottom: 4px !important;
}

&:last-child {
margin-bottom: 0 !important;
}
}

p:not(:last-child) {
margin-bottom: 4px !important;
}

p:last-child {
margin-bottom: 0 !important;
}
}
& > figure {
margin-top: 0 !important;
}

}
Expand Down
2 changes: 1 addition & 1 deletion templates/assets/css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
settingName: theme-dream2-plus-setting
configMapName: theme-dream2-plus-configMap
# 版本号
version: 1.2.2.000004
version: 1.2.2.1
# 最低支持的 Halo 版本
require: ">=2.12.0"
# 许可
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.2
1.2.2.1

0 comments on commit 472c604

Please sign in to comment.