Skip to content

flex framework is throwing off fit-content and objects sizes #15

@dvodvo

Description

@dvodvo

Context: Using Zurb foundation CSS framework in XY grid mode which has proved concise and useful.

However, using a browser emulation of mobile terminal (both Chromium and Firefox) the calendar goes off the deep end with
Screen Shot 2022-12-11 at 11 12 25
fit-content
Doing a modification to the CSS

.sdp-cal {
  max-width: fit-content;
==>
.sdp-cal {
  max-width: 100%;

now occupies reasonable space. But the dropdowns are now rendering EACH to full-width of div
Screen Shot 2022-12-11 at 11 12 51
with the size matching the emulated browser window width

Screen Shot 2022-12-11 at 11 13 11

The curiosity here is that there is both a class (that is not in the src file) AND a style whose value is set outside of my control (as I understand it) resulting in the year and forward-reverse buttons being thrown off the useful part of the page.

Note: I have also tried to exclude the div for the calendar entirely from the XY grid, but leading to the same result

Screen Shot 2022-12-11 at 11 44 44

With the style forced upon the tag, I cannot see how can this be overcome ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions