phase2 / outline

Tooling infrastructure for modern web component development.
https://outline.phase2tech.com
MIT License
128 stars 27 forks source link

fix: Update container component to respect media queries max-width declarations. #327

Closed jardix22 closed 2 years ago

jardix22 commented 2 years ago

Description

The outline-container is not working as expected. For some reason, the max-width has higher precedence and it overrides the rest of the media queries max-width declarations added by Tailwind.

/** src/components/base/outline-container/outline-container.css **/
:host {
  @apply sm:max-w-screen-sm md:max-w-screen-md lg:max-w-screen-lg xl:max-w-screen-xl xxl:max-w-screen-xxl xxxl:max-w-screen-xxxl;
  display: block;
  max-width: 100%;

  ...
}

Fixes # (issue)

Type of change

How Has This Been Tested?

image image

Checklist