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

Closed
anonymous-piwik-user opened this Issue Mar 14, 2012 · 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
Piwik Open Source Analytics member

Thanks for the report and patch

@mattab
Piwik Open Source Analytics member

(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