优化:

1、移除H1和H2的背景,使其支持文章的段落对齐
2、移除表格最大限制100%宽度,允许显示横向滚动条
3、移除图片显示模式,使其支持文章图片百分比设置,目前仍然不文章图片对齐格式支持,仍固定为居中
This commit is contained in:
mjsoftware 2024-02-17 13:45:03 +08:00
parent 074201c7bc
commit da0cfbe53f

View File

@ -3226,8 +3226,8 @@ button.swiper-pagination-bullet {
}
h1, h2 {
display: inline;
background: linear-gradient(to bottom, transparent 60%, var(--bg-g) 0);
//display: inline;
//background: linear-gradient(to bottom, transparent 60%, var(--bg-g) 0);
&:before, &:after {
content: '';
@ -3468,7 +3468,7 @@ button.swiper-pagination-bullet {
table {
width: 100%;
max-width: 100%;
//max-width: 100%;
border-collapse: unset;
background: var(--bg-d);
margin-bottom: 14px;
@ -3499,6 +3499,13 @@ button.swiper-pagination-bullet {
tr {
transition: background 0.35s;
th {
p {
margin: 1em 0px;
}
}
&:nth-child(2n) {
background: var(--bg-j);
}
@ -3644,7 +3651,7 @@ button.swiper-pagination-bullet {
& > div {
position: relative;
overflow: hidden;
display: inline-block;
//display: inline-block;
}
& > p {