mirror of https://github.com/anoshenko/rui.git
Bug fixing
This commit is contained in:
parent
5bf87063f5
commit
a9519016de
|
|
@ -20,8 +20,8 @@ body {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100lvw;
|
||||||
height: 100vh;
|
height: 100lvh;
|
||||||
font-family: system-ui;
|
font-family: system-ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1883,8 +1883,8 @@ const (
|
||||||
// Conversion rules:
|
// Conversion rules:
|
||||||
// - []BackgroundGradientPoint - stored as is, no conversion performed. Used to set gradient stop points for linear and radial gradients.
|
// - []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.
|
// - []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.
|
// - []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 diretion.
|
// - []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%".
|
// - 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"
|
Gradient PropertyName = "gradient"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue