This commit is contained in:
kit 2024-09-24 09:05:15 +07:00
parent d1fd72bd7f
commit 16a929536c
3 changed files with 8 additions and 5 deletions

View File

@ -289,6 +289,7 @@ html input[type="button"], /* 1 */
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
-webkit-appearance: button; /* 2 */ -webkit-appearance: button; /* 2 */
appearance: button;
cursor: pointer; /* 3 */ cursor: pointer; /* 3 */
} }
@ -342,6 +343,7 @@ input[type="number"]::-webkit-outer-spin-button {
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; /* 1 */ -webkit-appearance: textfield; /* 1 */
appearance: textfield;
-webkit-box-sizing: content-box; /* 2 */ -webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box; box-sizing: content-box;
} }

View File

@ -48,9 +48,6 @@ p {
-webkit-margin-before: 0em; -webkit-margin-before: 0em;
} }
// Thanks to Jonathan B (https://stackoverflow.com/a/23501094) for figuring that out
sup { sup {
vertical-align: super; vertical-align: super;
} }

View File

@ -35,8 +35,12 @@ class _ColorPickerDialogState extends State<ColorPickerDialog> {
pickerAreaHeightPercent: 0.7, pickerAreaHeightPercent: 0.7,
enableAlpha: true, enableAlpha: true,
displayThumbColor: true, displayThumbColor: true,
showLabel: true, labelTypes: [
ColorLabelType.hex,
ColorLabelType.hsv,
ColorLabelType.hsl,
ColorLabelType.rgb,
],
paletteType: PaletteType.hsv, paletteType: PaletteType.hsv,
pickerAreaBorderRadius: const BorderRadius.only( pickerAreaBorderRadius: const BorderRadius.only(
topLeft: const Radius.circular(2.0), topLeft: const Radius.circular(2.0),