web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

www.golangbr.org - layout is messed up

Open felipez3r0 opened this issue 10 years ago • 12 comments

URL: http://www.golangbr.org/ Browser / Version: Firefox 50.0 Operating System: Linux Problem type: Layout is messed up

Steps to Reproduce

  1. Navigate to: http://www.golangbr.org/

Expected Behavior: The select component "Olá Mundo!" stay at left side of "Execute" button

Actual Behavior: The select component "Olá Mundo!" fallen to the next line

Screenshot Description

From webcompat.com with ❤️

felipez3r0 avatar Sep 30 '16 22:09 felipez3r0

This bug is reproducible.

sumantro93 avatar Oct 01 '16 07:10 sumantro93

Screenshot of the site issue

On macosx I get. I wonder if it's related to a font-size issue different on OS.

karlcow avatar Oct 03 '16 04:10 karlcow

I can't reproduce either in Firefox 49.

by chance @felipez3r0 did you change your default font-size?

Screenshot of the site issue

and

Screenshot of the site issue

karlcow avatar Oct 04 '16 06:10 karlcow

I have tried this with default font and size(ie. Serif and 16). And this is still reproducible on Linux/Firefox. PS: Works fine on Linux/Chrome

Screenshot of the site issue

tsl143 avatar Oct 05 '16 02:10 tsl143

Thanks @tsl143 ! Could you tell me which font is being used by Linux/Firefox to display this. Inspecting the Olá, Mundo! widget should give clues in computed values for CSS.

Thanks.

karlcow avatar Oct 05 '16 02:10 karlcow

Yes its screenshot from 2016-10-05 08 29 00

tsl143 avatar Oct 05 '16 02:10 tsl143

To add to this, here is what is on chrome screenshot from 2016-10-05 08 31 30

tsl143 avatar Oct 05 '16 03:10 tsl143

Ah! So I guess we have the start of an explanation. On Firefox Mac OSX

capture d ecran 2016-10-05 a 12 05 40

karlcow avatar Oct 05 '16 03:10 karlcow

On Opera Blink

capture d ecran 2016-10-05 a 12 08 36

karlcow avatar Oct 05 '16 03:10 karlcow

So I guess the fix is easy. The Web site owner needs to add a font-family and font-size to the select element

div#learn .toys select {
    border: 1px solid #375EAB;
    margin: 0;
}

In that way the design will not be dependent on the operating systems values.

Switching to needscontact.

karlcow avatar Oct 05 '16 03:10 karlcow

Opened an issue at https://github.com/golangbr/golangbr.org/issues/17

tsl143 avatar Oct 05 '16 03:10 tsl143

The issue has been fixed.

Tested with: Browser / Version: Firefox Nightly 70.0a1 (2019-08-21) Operating System: Linux Mint

image