Skip to content

oc-2104 - Layout contains disorders with small fontsize (like 12) #801

Closed

Description

@msrex

From http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-2104

Bug verified in v4.5.4, with FF16 and FF17 on both Win7 and Linux.

And it is not limited to the calendar, in various places the layout does not fit anymore. Also our graphics are too big for a smaller font-size.

Description:
I'm using Ubuntu 12.10 with Firefox. I have my font size set to 12.

As you can see in the attached image, the editing field seems to be messed up a bit here. If I set my font size to the default 16, then its working correctly.

This image shows the issue http://www.dupondje.be/owncloud.pngicon_open_new.png

Also the ownCloud image on the login screen is disordered with a small font size. The 'ownCloud' text is half in the white, half in the blue area.

Reproduction steps:

  1. Set your Firefox fontsize to something small (here 12).
  2. Edit a calendar item with Firefox on Ubuntu 12.10, and you'll notice the layout issue.

Activity

  1. jancborchardt commented on Feb 14, 2013

    @jancborchardt
    Contributor

    This is because of the use of em units in the interface, and they should be changed to px to stay consistent. This is what Github does for instance, their interface just doesn’t change when using a different font size. It would be a pain to try to cater to getting the user’s font size, instead we should focus on a great base interface which is scalable via zooming. And since we use a reasonably big base size this should be fine.

    I’ll fix this by changing core.css values from em to px, as previously discussed in a thread on the mailing list. cc @Raydiation

  2. BernhardPosselt commented on Feb 14, 2013

    @BernhardPosselt
    Contributor

    There are rendering issues when using px, thats why im often using pt.

  3. jancborchardt commented on Feb 14, 2013

    @jancborchardt
    Contributor

    Hm. I guess more units probably would create more problems than solve. We already use pixels a lot in the header, navigation bar and buttons because you can, well, pixel-perfectly align stuff. I’ll play around with it tomorrow and see how it fares.

  4. raghunayyar commented on Feb 24, 2013

    @raghunayyar
    Contributor

    AFAIK pt is involved in print media, mostly. I guess we should stick to px everywhere. What say, @jancborchardt ? Did you test?

  5. BernhardPosselt commented on Feb 26, 2013

    @BernhardPosselt
    Contributor
  6. DeepDiver1975 commented on Aug 22, 2013

    @DeepDiver1975
    Contributor

    @jancborchardt did we/you fix this by now? Can you have a look? THX

  7. MorrisJobke commented on Oct 6, 2013

    @MorrisJobke
    Contributor
  8. raghunayyar commented on Oct 7, 2013

    @raghunayyar
    Contributor

    @kabum thx, I couldnt find this one for the link. 👍 +1:

  9. jancborchardt commented on Jan 27, 2014

    @jancborchardt
    Contributor

    Fixed by finally having #5152 #5153 fully reviewed and merged. :) Thanks @raghunayyar

  10. locked as resolved and limited conversation to collaborators on Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions