Update skeleton input styles for improved visual consistency
- Adjusted mask-image properties in App.css to change the gradient calculation from 0.8em to 0.5em for better alignment and appearance of skeleton input elements. - Ensured consistent styling across both standard and webkit-prefixed mask images.
This commit is contained in:
parent
f2ccec483f
commit
b121179322
@ -1254,13 +1254,13 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
#000 0%,
|
||||
#000 calc(100% - 0.8em),
|
||||
#000 calc(100% - 0.5em),
|
||||
transparent 100%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
#000 0%,
|
||||
#000 calc(100% - 0.8em),
|
||||
#000 calc(100% - 0.5em),
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
@ -1271,13 +1271,13 @@ span.ant-skeleton-input.ant-skeleton-input-sm.text-skeleton {
|
||||
mask-image: linear-gradient(
|
||||
to left,
|
||||
#000 0%,
|
||||
#000 calc(100% - 0.8em),
|
||||
#000 calc(100% - 0.5em),
|
||||
transparent 100%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to left,
|
||||
#000 0%,
|
||||
#000 calc(100% - 0.8em),
|
||||
#000 calc(100% - 0.5em),
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user