문제

I'm writing a KendoUI Mobile app for Android.
I add these style rules to put the navbar at the top of the screen.

/* visulaizza il titolo nella navbar */ 
.km-android .km-navbar .km-view-title {
    visibility: visible;
}

/* navbar in alto */
.km-android .km-view {
    -webkit-flex-direction: column;
}

Those work well when all run in browser preview but, after the app was build, on the device the navbar appears at the bottom.

Can someone help me?
Thanks!

도움이 되었습니까?

해결책

Your rule are incomplete. Use that:

.km-root .km-android .km-view {
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
}

You can watch other style tricks from this link http://docs.kendoui.com/getting-started/mobile/application

다른 팁

Where do you place these CSS rules? Seems they don't get included in the build for some reason.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top