Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Tables don't render properly in Firefox #354

Closed
wryun opened this issue Jan 9, 2021 · 3 comments
Closed

Tables don't render properly in Firefox #354

wryun opened this issue Jan 9, 2021 · 3 comments

Comments

@wryun
Copy link

wryun commented Jan 9, 2021

Tables don't quite seem to fit inside their element in Firefox (Linux at least...), causing weird artifacts where it switches between presenting a scrollbar and some kind of right hand side shadow on every interaction. This is particularly annoying when editing a table, but is also an issue in RO mode.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://groklearning.getoutline.com/share/947bee24-0181-4d51-9338-0928459a5e73 in Firefox (tested 78 and 85)
  2. Click anywhere in the table
  3. Click anywhere in the table again

Expected behavior
Nothing happens.

Screenshots
image

Taking a screenshot of the scrollbar state is a bit more tricky (requires hovering). Hopefully this is sufficient.

Outline (please complete the following information):

  • Install: getoutline.com
  • Version: [commit sha if self hosted]

Desktop:

  • OS: Linux
  • Browser Firefox
  • Version 78 and 85
@wryun
Copy link
Author

wryun commented Jan 9, 2021

Hmm, I guess I should have filed this in the editor repo. Sorry.

@tommoor
Copy link
Member

tommoor commented Jan 9, 2021 via email

@rubenmoya
Copy link

Uhm, it looks like somewhere in the editor we're setting:

.hXduNr * {
    box-sizing: content-box;
}

Chaning the table one to border-box stops that behavior 🤷‍♂️

@tommoor tommoor transferred this issue from outline/outline Jan 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants