(Interesting) chrome versions hide the bug of displaying unspecified symbols on display: flex and overflow, chromeflex

Source: Internet
Author: User

(Interesting) chrome versions hide the bug of displaying unspecified symbols on display: flex and overflow, chromeflex
The project encountered a very interesting situation:

The layout requirement is as follows: the new order created on the right side is a fixed width of 80 PX, the adaptive width on the left side, and overflow and hiding. For example.

The layout here is not to mention the use of display: flex. Left flex: 1; right width: 80px ;.

It was originally OK on my machine, but after it was handed over to the back-end Brothers, there was no flex: 1 on the left of his machine;

Always there with a fixed width to destroy the layout. Later I checked that chrome on the backend is the latest version,

My machine is an old version. The chrome of the two versions has different resolutions for display: flex.

The solution is to add a minimum width to the flex adaptive element on the left and a width: 100% to the two sublevels.

It's not uncommon, but it's interesting, because in my world view, I always think that the newer the version, the better the adaptability, the more interesting the bug is.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.