fixing bug of navbar kompetisi.id in mobile version

in #utopian-io7 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.17
TRX 0.16
JST 0.029
BTC 75643.59
ETH 2724.77
USDT 1.00
SBD 2.50