? ? Pending

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
11 Jan 2017

Pull Request for Issue # .

Summary of Changes

This PR removes the following, fixing a multi column margin issue where all fluid bootstrap columns (excluding first column) shift to the left on most screen sizes..

.row-fluid [class*="span"] {
	margin-left: 15px;
}

I can't imagine the original purpose for this CSS, regardless it is incorrect as row-fluid span margins should be in %. Issue becomes more noticeable the larger the screen size. Removing the CSS reverts back to the bootstrap default.

Testing Instructions

Apply patch and check Control Panel or any view with bootstrap columns.

Before Patch
bs-grid1

After Patch
bs-grid2

Documentation Changes Required

None

avatar ciar4n ciar4n - open - 11 Jan 2017
avatar ciar4n ciar4n - change - 11 Jan 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jan 2017
Category Administration Templates (admin)
avatar ciar4n ciar4n - change - 11 Jan 2017
The description was changed
avatar ciar4n ciar4n - edited - 11 Jan 2017
avatar Minei3oat
Minei3oat - comment - 11 Jan 2017

I have tested this item successfully on fffdce4


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13560.

avatar Minei3oat Minei3oat - test_item - 11 Jan 2017 - Tested successfully
avatar bertmert
bertmert - comment - 11 Jan 2017

I have tested this item ? unsuccessfully on fffdce4

SORRY!! Following statement is WRONG!! So, my unsuccessfull test is not correct!!

This is a basic Bootstrap 2 rule (call it "core rule" if you want to). Changing/Removing it is a killer for the whole BS 2 grid system.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13560.

avatar bertmert bertmert - test_item - 11 Jan 2017 - Tested unsuccessfully
avatar mbabker
mbabker - comment - 11 Jan 2017

This is a basic Bootstrap 2 rule (call it "core rule" if you want to). Changing/Removing it is a killer for the whole BS 2 grid system.

If you were referring to something in https://github.com/twbs/bootstrap/blob/v2.3.2/docs/assets/css/bootstrap.css#L407-L421 I'd agree. But this is an Isis template specific override and it is indeed incorrect. There are a lot of bad CSS overrides of the core Bootstrap elements in Joomla (especially the RTL files), those need to be corrected.

avatar bertmert
bertmert - comment - 11 Jan 2017

@mbabker
Yes, you're right. While you were typing I corrected my comment above. I was too late.

avatar ciar4n ciar4n - edited - 11 Jan 2017
avatar anibalsanchez
anibalsanchez - comment - 11 Jan 2017

I have tested this item successfully on fffdce4

Test OK


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13560.

avatar anibalsanchez anibalsanchez - test_item - 11 Jan 2017 - Tested successfully
avatar ciar4n
ciar4n - comment - 13 Jan 2017

@mbabker I see what you mean. It all seems a bit of a minefield. Excluding the Isis overrides, some of the Bootstrap responsive fluid percentages (margin-left vs width) don't seem to add up correctly which would indicate issues in the /media/jui folder. Effects the BS grid on most modal iframes leaving no easy fix for the likes of #13489. Presuming I'm correct this may explain the original intent of some of these dodgy Isis overrides.

avatar mbabker
mbabker - comment - 13 Jan 2017

The LESS files are fine in media/jui. It's the lessc compiler that's screwing it up massively. For the joomla.org site template I stopped using it and changed to the recess compiler the Bootstrap team was using at 2.3.2. We're using media/jui LESS and some custom CSS to flatten things out and implement some of our custom stuff. Take a look at https://www.joomla.org/templates/joomla/css/template.css for the results.

The PHP compiler isn't reliable but in 2012 the project wouldn't accept a "need to be able to run npm install" requirement for contributing UI related fixes and I don't think the subject's ever been revisited. I just know I won't use lessc or the extending JLess class for any reason personally because that library is too problematic.

avatar sanderpotjer
sanderpotjer - comment - 14 Jan 2017

I have tested this item successfully on fffdce4


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13560.

avatar sanderpotjer sanderpotjer - test_item - 14 Jan 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 14 Jan 2017
Status Pending Ready to Commit
avatar jeckodevelopment jeckodevelopment - edited - 14 Jan 2017
avatar jeckodevelopment
jeckodevelopment - comment - 14 Jan 2017

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13560.

avatar wilsonge wilsonge - change - 14 Jan 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-14 19:57:19
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge wilsonge - close - 14 Jan 2017
avatar wilsonge wilsonge - merge - 14 Jan 2017
avatar ciar4n ciar4n - change - 26 Jan 2017
Title
Fixes Isis Bootstrap grid
Remove Isis Bootstrap grid override
avatar ciar4n ciar4n - edited - 26 Jan 2017

Add a Comment

Login with GitHub to post a comment