Skip to content

Vite warning: Replace fill-available to stretch, because spec had been changed #58

Description

@binaryfire

Hi guys,

The Vite dev server is showing the following error. Should fill-available be replaced with stretch? Looks -moz-available needs to be included to cover Firefox too.

https://caniuse.com/intrinsic-width

[vite:css] Replace fill-available to stretch, because spec had been changed

.wowerlay{position:fixed;display:inline-block;left:var(--wowerlay-x, 0px);top:var(--wowerlay-y, 0px);overflow:auto;max-width:calc(100vw - 50px);max-width:calc(-webkit-fill-available - 50px);max-width:calc(fill-available - 50px);max-height:calc(100vh - 50px);max-height:calc(-webkit-fill-available - 50px);max-height:calc(fill-available - 50px);z-index:var(--wowerlay-z, 500)}.wowerlay-background{display:block;position:fixed;left:0;top:0;width:100vw;max-width:-webkit-fill-available;max-width:fill-available;height:100vh;max-height:-webkit-fill-available;max-height:fill-available;z-index:var(--wowerlay-z, 500)}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions