Skip to content

complexity of layout #18

@shaunc

Description

@shaunc

Layout in main component is complex (and still buggy). This is a result of:

  1. trying to allow for:
  • explicit dimensions
  • dimensions via css styling (which must be read from content)
  • dimensions via "100% of parent element"
  1. Once the overall dimensions are known, we still need to look into the dimensions of the pieces in order to read actual header/footer dimensions, and body border if necessary, to calculate space for body.

[NB #16 -- we also have to allow for horizontal scrollbar]

I'm thinking we could delegate (1) to a separate layout mixin; (2) perhaps at least that layout mixin would have utilities to read make this easier

@bryan -- any thoughts? ember-collection is now styling itself to fill up parent element. We could still go that way, I suppose. I don't know how much it helps us as we still need to calculate how much space to allow for the body.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions