fossasia / loklak_webclient

loklak web application
http://loklak-web.herokuapp.com
MIT License
1.55k stars 49 forks source link

Bfix(#580): Fixes spaces between inline search-filters #581

Closed sopankhosla closed 8 years ago

sopankhosla commented 8 years ago

Earlier buggy view! afb34792-eb9f-11e5-8acc-a644496200c7

Fixed view as given below! screenshot from 2016-03-16 18 06 23

sudheesh001 commented 8 years ago

Is there something wrong with the screenshots ? Both of them look exactly the same.

sopankhosla commented 8 years ago

@sudheesh001: The two screenshots represent the two different testcases. It fixes issue #580 @aneeshd16: any reason why this was closed?

sudheesh001 commented 8 years ago

@sopu How is changing font-size:0px fixing the problem ? I don't see this problem and am not able to reproduce this.

sopankhosla commented 8 years ago

@sudheesh001 please see that this problem occurs with search. http://loklak.net/search?q=fossasia will reproduce this problem. This occurs due to space between the two li elements. Whenever you make anything inline it treats it as text in the paragraph. font-size: 0px; basically makes the width of the space = 0px. That's it.

sopankhosla commented 8 years ago

Opening this PR as it fixes a small issue! #580

sopankhosla commented 8 years ago

Small fix! Merging.