Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Widgets: H2 titles are missing some CSS style when embedded #3044

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

@anonymous-piwik-user

Widgets that are embedded within the main site have the following h2 style:
.widgetContent h2 {
font-size:1.2em;
margin-left:10px;
font-weight:bold;
}

however, there isn't a style for widgets that are embedded within iframes.

To reproduce, go to demo.piwik.org - select Widgets -> Visits Summary -> Overview with graph. Copy and paste the iframe link to a page and view. You will notice the h2 tags doesn't have any left padding, whereas when the widget is viewed within the piwik site, it does.

I've attached a patch that adds a style with left padding only.

@anonymous-piwik-user

Attachment: patch to add style
widgetH2padding.patch

@mattab
Owner

Thanks for the report and patch

@mattab
Owner

(In [6082]) Fixes #3044

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.