From dc8a5fb5587bc539c930d07a93771d6980438321 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 24 Apr 2022 21:47:08 -0500 Subject: [PATCH] Fix layer.minWidth being ignored --- src/components/Layer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Layer.vue b/src/components/Layer.vue index 30be10d..b051687 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -110,7 +110,7 @@ export default defineComponent({ tabValue.style.flexGrow = ""; tabValue.style.flexShrink = ""; tabValue.style.width = ""; - tabValue.style.minWidth = tabValue.style.flexBasis = `${width}px`; + tabValue.style.minWidth = tabValue.style.flexBasis = width; tabValue.style.margin = ""; } }