简体   繁体   中英

I can't scroll my centralized page with display flex when I zoom it

Currently I'm making a periodic table with Html and Css, and I needed to centralize my page then I did:

page {
 display:flex;
 align-items:center;
 justify-content: center;
}

but, when I zoom it, I can scroll to top or down, but I can't scroll to right or left.

May you help me?

尝试添加min-width: min-content;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM