Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sticky footer issue #80

Closed
wants to merge 16 commits into from
Closed

Fix sticky footer issue #80

wants to merge 16 commits into from

Conversation

vikas-parashar
Copy link
Member

Fixes issue of sticky footer using CSS3 flexbox

Fixes: #36

Fixes issue of sticky footer using CSS3 flexbox

Fixes: #36
@vangheem
Copy link
Member

tests running here: http://jenkins.plone.org/job/pull-request-5.0/792/

@vangheem
Copy link
Member

Can you add a changelog entry please?

@davilima6
Copy link
Member

davilima6 commented Jan 31, 2016

Flexbox is awesome and support is really good but do we want to introduce it in Barceloneta at this time? I mean, it could have been used for the entire layout but was avoided so I'm not sure we should fix this issue like this. Any comments, @sneridagh @albertcasado ?

@vikas-parashar
Copy link
Member Author

@davilima6 Thanks for the feedback. Sticky footer can be achieved by calculating footer height and then by using general CSS method but in our case this isn't possible since users can have different footers. Other method is calculating footer's height using JavaScript and then fixing it by CSS but I thought it will be overdo since this can be achieved by mixing old and new flexbox for better browser support.
I am always open to suggestions for achieving this other ways and will be happy to apply them.

@sneridagh
Copy link
Member

plonetheme.barceloneta is not using Flexbox at all (mainly because it's based on vainilla BS3). Introduce it at this level (thorough the whole page structure) is kind of risky and will require more testing for all viewports. Then we have the cross browser support. I remember deciding for Plone 5 to support from IE9+ onwards. This change will break this, making it IE10+, isn't it?.

It's true that MS have officially deprecated IE10 and backwards, however I would wait for a minor version update (eg. Plone 5.1) to make this change effective.

@vangheem @albertcasado @davilima6 what do you think?

@@ -2270,6 +2274,7 @@ fieldset[disabled] .link-parent.active {
color: #777777;
}
.pagination {
display: inline-block;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to switch this to inline-block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's compiling from pagination.plone.less, line 4. I don't know why it wasn't in barceloneta-compiled.css already.

vikas-parashar and others added 14 commits February 2, 2016 02:28
inline style tags are now included
Center the leadimage on the modal windows
Add barceloneta-mixin-font to the registerless profile.
Its required by barceloneta-fonts.
Add barceloneta-mixin-font to plone.export.less.
Calculates height of footer on page load and on resize and
set bootom padding of body according to it to keep footer at bottom.

Fixes: #36
Removes changes done for flexbox fix.
Now we calculate footer height using jquery and sets bottom padding of body to keep the footer at bottom.

Fixes: #36
@jensens
Copy link
Member

jensens commented May 12, 2016

There was no activity on this for a while. I close this request for now. If you plan to work further on this please reopen and go on.

@jensens jensens closed this May 12, 2016
@vikas-parashar
Copy link
Member Author

Yeah sure

@davilima6 davilima6 deleted the fix-sticky-footer branch July 17, 2017 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants