bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Negative margin on row element in Bootstrap 3 produces horizontal scrollbar in responsive view

Open winterstetter opened this issue 13 years ago • 6 comments

I am seeing a horizontal scroll bar in tablet and iphone responsive view. The issue seems connected with the negative margins in row.

.row { margin-right: -10px; margin-left: -10px; }

Helping myself with this override:

/* BS3 override -------------------------------------------------- */ @media (max-width: 767px) { body { margin-left: 5px; margin-right: 5px; }

.row { margin-right: 0px; margin-left: 0px; } }

winterstetter avatar Jan 24 '13 05:01 winterstetter

That's not what's causing the problem, and we'll fix it later hopefully. Still lots to do in 3.0 and we aren't accepting most issues against it for now.

mdo avatar Jan 28 '13 06:01 mdo

@mdo, so what do you think is causing the problem?

i'm having this issue too... should i just ignore it (or try @thomaswinterstetter's fix) for the meantime and wait for 3.0 to release?

jklmnop avatar Apr 19 '13 20:04 jklmnop

Can we reopen this issue? I've tested this on three computers and i am seeing the same thing. Negative margins on all rows, and it seems quite absurd.

Example: http://jsfiddle.net/Yd4ee/1/ Screenshot: http://d.pr/i/wIh1

Tested OS and Browsers:

Windows 7 Firefox and Chrome (http://d.pr/i/wIh1) ChromeOS Chrome Windows 7 Chrome

I'm confused on how this bug made it through all of the RCs heh.

leeola avatar Oct 13 '13 00:10 leeola

Nevermind.

Apparently this is intentional. The only resolution is to use a container, with additional css to set to max-width. Seems a bit silly for bootstrap, but shrug

leeola avatar Oct 13 '13 01:10 leeola

See #10711.

cvrebert avatar Oct 13 '13 04:10 cvrebert

yah same problem i am facing.....it looks mess...

sharonkrishh avatar Dec 29 '13 11:12 sharonkrishh