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

Layout discrepancy on w3.org: calendar icons #4

Open
koalie opened this issue Jun 21, 2017 · 1 comment
Open

Layout discrepancy on w3.org: calendar icons #4

koalie opened this issue Jun 21, 2017 · 1 comment
Labels

Comments

@koalie
Copy link
Contributor

koalie commented Jun 21, 2017

In the screenshot underneath, the top date appears against the solid line of the year portion of the calendar image. This is from Firefox (Mac OS), where I’ve set my font size to by 9 (Proportional: serif; Size: 9).

The same was reported on Firefox on Linux with a minimum font size of 12.

The same is true for other places where we show the calendar icon (e.g. our events cal or videos/podcasts.

screen shot 2017-03-20 at 10 15 25

Tanya indicated she couldn't reproduce this on Chrome, Firefox and Safari; and Antonio that he couldn't reproduce the issue on Linux; not with Chromium nor with Firefox.

Antonio noted:

I'll see if we can tweak the CSS slightly to ensure there's some padding in all cases..

@tripu
Copy link
Member

tripu commented Jul 6, 2017

After examining again the layout of those little calendars, I suggest we switch to a SVG version of them; it would be easier to place those three <span> (.dtstart, .dd-mmm, .dd-mmm). As it is now, changes in zoom or in font sizes cause lines to be too tall or too short, thus misalignments.

WDYT, @tanyeah?

@tripu tripu added the web-site label Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants