This commit is contained in:
krahets
2026-04-19 02:02:58 +08:00
parent e53a7f2498
commit cb5235bc3f
+13
View File
@@ -383,6 +383,7 @@ html:has(body[data-md-color-scheme="default"]) {
.home-div { .home-div {
width: 100%; width: 100%;
height: auto; height: auto;
box-sizing: border-box;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@@ -805,4 +806,16 @@ a:hover .device-on-hover {
height: min(78vw, 32rem); height: min(78vw, 32rem);
margin: 0 0 1em; margin: 0 0 1em;
} }
.media-block>a {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
max-width: 100%;
}
.media-block .device-on-hover {
max-width: 100%;
}
} }