mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
优化:調整表格样式:垂直方向固定居中,水平方向与文章编辑一致、表格宽度受文章编辑后渲染宽度影响、移除表格中段落的下边距
This commit is contained in:
parent
4e79ec9e86
commit
599628ea4d
@ -360,7 +360,12 @@ pre {
|
||||
}
|
||||
|
||||
table td, table th {
|
||||
vertical-align: top;
|
||||
//vertical-align: top;
|
||||
vertical-align: middle;
|
||||
|
||||
&>p {
|
||||
margin: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
@ -3607,13 +3612,6 @@ button.swiper-pagination-bullet {
|
||||
tr {
|
||||
transition: background 0.35s;
|
||||
|
||||
th {
|
||||
|
||||
p {
|
||||
margin: 1em 0px;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(2n) {
|
||||
background: var(--bg-j);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user