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

First <a> is fullwidth #23

Open
Yearhouse opened this issue Mar 10, 2014 · 4 comments
Open

First <a> is fullwidth #23

Yearhouse opened this issue Mar 10, 2014 · 4 comments

Comments

@Yearhouse
Copy link

When Using ImgLiquid on a container which has an absolute position element with text and a button link. That button links gets "display: block; width: 100%; height: 100%;".

I have located the coolprit in the code:

$('a:first', $imgBoxCont).css({
'display': 'block',
'width': '100%',
'height': '100%'
});

And im wondering why this is being set?
Maybe add a option to disable this?

@karacas
Copy link
Owner

karacas commented Mar 10, 2014

Can you make a jsfiddle with the error? tnx

@karacas
Copy link
Owner

karacas commented Apr 2, 2014

Because you can use as imgliquid container, try to put outside imgLiquid tag.

@JiaqiGuo
Copy link

this happens to me as well, just change the width and set it !important

@samuel-clara
Copy link

Same here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants