fix: 三欄列同列上下置中

This commit is contained in:
2026-05-20 02:19:29 +08:00
parent 042bb103dd
commit d490103eae
+7 -6
View File
@@ -390,10 +390,10 @@
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
} }
/* 三欄列:flex 全寬(排除 overlap-style */ /* 三欄列:flex 全寬,同列上下置中(排除 overlap-style */
body.ebook-ssg2-page.totoga2-page #totoga2-reader .container:not(.readable-homework-block):not(.overlap-style):has(> .container31):has(> .container32):has(> .container33) { body.ebook-ssg2-page.totoga2-page #totoga2-reader .container:not(.readable-homework-block):not(.overlap-style):has(> .container31):has(> .container32):has(> .container33) {
display: flex; display: flex;
align-items: flex-start; align-items: center;
justify-content: flex-start; justify-content: flex-start;
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
@@ -412,11 +412,11 @@
flex: 1 1 33.33%; flex: 1 1 33.33%;
min-width: 0; min-width: 0;
height: auto; height: auto;
align-self: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: stretch; align-items: center;
align-self: flex-start; justify-content: center;
justify-content: flex-start;
margin-top: 0; margin-top: 0;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -426,10 +426,11 @@
border-radius: 10px; border-radius: 10px;
overflow: hidden; overflow: hidden;
line-height: 0; line-height: 0;
width: 100%;
} }
body.ebook-ssg2-page.totoga2-page #totoga2-reader .container:not(.readable-homework-block):not(.overlap-style):has(> .container31):has(> .container32):has(> .container33)>.container32 { body.ebook-ssg2-page.totoga2-page #totoga2-reader .container:not(.readable-homework-block):not(.overlap-style):has(> .container31):has(> .container32):has(> .container33)>.container32 {
align-self: center; align-items: stretch;
overflow: visible; overflow: visible;
} }