diff --git a/.changeset/modern-clocks-obey.md b/.changeset/modern-clocks-obey.md new file mode 100644 index 00000000000..0f74d786d53 --- /dev/null +++ b/.changeset/modern-clocks-obey.md @@ -0,0 +1,5 @@ +--- +"@spectrum-css/tray": patch +--- + +Resolves stylelint violation by adjusting declaration order diff --git a/components/tray/index.css b/components/tray/index.css index 57b17c7f11b..07347553711 100644 --- a/components/tray/index.css +++ b/components/tray/index.css @@ -41,9 +41,10 @@ } .spectrum-Tray { + --mod-modal-max-width: 100%; + /* Default to full width when the viewport is in portrait orientation */ inline-size: 100%; - --mod-modal-max-width: 100%; max-inline-size: 100%; max-block-size: calc(100vh - var(--mod-tray-spacing-edge-to-tray-safe-zone, var(--spectrum-tray-spacing-edge-to-tray-safe-zone)));