fixing bug of navbar kompetisi.id in mobile version

in #utopian-io6 years ago (edited)

The Issue

https://user-images.githubusercontent.com/4264672/37458166-b94eec14-2876-11e8-8e82-fa9374e929c0.png

In mobile version, navbar show search button in wrong position, and not clickable. The search icon posititon in mobile version should be in top right corner, and when clicked, navbar will replace by full width input text which the user use to search.

Solution

Based on design bellow, i do some code changes.

Navbar on mobile
navbar

Navbar on mobile clicked
navbar clicked

The search icon is uses correct style, so i not change anything in that section. I Added css class .hide-mobile which has excited to the logo, so logo will disappear in mobile version.

The last step is to replace the hamburger button with the logo, to fit the desired design above. That way, the search menu can be clicked and used smoothly.

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it is a very small contribution in terms of code. Please try to add more features or more bug fixes in your contribution.

You can contact us on Discord.
[utopian-moderator]

very useful comments, I will be better in the future

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 60950.37
ETH 3387.59
USDT 1.00
SBD 2.49