We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a13c5a6 commit 07fb163Copy full SHA for 07fb163
1 file changed
assets/common.js
@@ -113,6 +113,8 @@ const forceLightMode = false;
113
const maxWidthValue = computedStyle.getPropertyValue('max-width');
114
const maxHeightValue = computedStyle.getPropertyValue('max-height');
115
116
+ if (maxWidthValue === '100%') return;
117
+
118
// Parse CSS values (handle clamp, calc, etc.)
119
const tempDiv = document.createElement('div');
120
tempDiv.style.width = maxWidthValue;
0 commit comments