diff --git a/src/action/App.vue b/src/action/App.vue index e3a28fc..6c07d53 100644 --- a/src/action/App.vue +++ b/src/action/App.vue @@ -1131,4 +1131,12 @@ html.samsung { height: initial; } } + +// Safari 17: the popover opens after a delay the first time the action +// button is clicked on macOS 14, unless the height is declared. +@if $target-env == 'safari' { + html { + min-height: 56px; + } +} diff --git a/webpack.config.js b/webpack.config.js index 713a360..e15e891 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -151,6 +151,12 @@ module.exports = { sassOptions: { includePaths: ['node_modules'], quietDeps: true + }, + additionalData: (content, loaderContext) => { + return ` + $target-env: "${targetEnv}"; + ${content} + `; } } }