diff --git a/app_styles.css b/app_styles.css index d7b3351..dee0cde 100644 --- a/app_styles.css +++ b/app_styles.css @@ -20,8 +20,8 @@ body { -webkit-user-select: none; user-select: none; margin: 0 auto; - width: 100%; - height: 100vh; + width: 100lvw; + height: 100lvh; font-family: system-ui; } diff --git a/propertyNames.go b/propertyNames.go index 9939da9..573e037 100644 --- a/propertyNames.go +++ b/propertyNames.go @@ -1883,8 +1883,8 @@ const ( // Conversion rules: // - []BackgroundGradientPoint - stored as is, no conversion performed. Used to set gradient stop points for linear and radial gradients. // - []BackgroundGradientAngle - stored as is, no conversion performed. Used to set gradient stop points for conic gradient. - // - []GradientPoint - converted to []BackgroundGradientPoint. Used to set gradient stop points for linear and radial gradients. Since GradientPoint contains values from 0 to 1.0 they will be converted to precent values. - // - []Color - converted to []BackgroundGradientPoint. Used for setting gradient stop points which are uniformly distributed across gradient diretion. + // - []GradientPoint - converted to []BackgroundGradientPoint. Used to set gradient stop points for linear and radial gradients. Since GradientPoint contains values from 0 to 1.0 they will be converted to percent values. + // - []Color - converted to []BackgroundGradientPoint. Used for setting gradient stop points which are uniformly distributed across gradient direction. // - string - string representation of stop points or color values. Format: "color1 pos1,color2 pos2"... . Position of stop points can be described either in SizeUnit or AngleUnit string representations. Examples: "white 0deg, black 90deg, gray 360deg", "white 0%, black 100%". Gradient PropertyName = "gradient"