Css adapts to Xiaomi 8 bangs screen

problem description

how to fit Xiaomi 8"s bangs screen

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

@media only screen and (min-device-width: 393px) and (max-device-height: 818px) and

(-webkit-device-pixel-ratio: 2.75) {
    .has-topbar {

        height: 84px !important;
        line-height: 128px !important;
        background-color: -sharp333;
    }

}

what result do you expect? What is the error message actually seen?

found that the css style written as above has not been added, is there any other way

Css
Jun.03,2021
Menu