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

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

Closed
anonymous-matomo-user opened this issue Mar 14, 2012 · 3 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

Attachment: patch to add style
widgetH2padding.patch

@mattab
Copy link
Member

mattab commented Mar 20, 2012

Thanks for the report and patch

@mattab
Copy link
Member

mattab commented Mar 21, 2012

(In [6082]) Fixes #3044

@anonymous-matomo-user anonymous-matomo-user added this to the 1.12.x - Piwik 1.12.x milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants