Fix clipped background color for NcDatetimePicker #3794
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The background of the DatetimePicker input field is clipped to
content-box
which gives the wrong background color on the left and right. As long as the background-color of the parent is white, it's not visible, but e.g. in theNcActionInput
component you see a problem.I added a bright color with the devtools to make this visible:
Before:
![Screenshot 2023-02-20 at 12-06-32 Nextcloud Vue Style Guide](https://user-images.githubusercontent.com/2496460/220088265-a7d567ba-4e80-4b82-9c3e-892a66ad5b4f.png)
After:
![Screenshot 2023-02-20 at 12-07-27 Nextcloud Vue Style Guide](https://user-images.githubusercontent.com/2496460/220088411-53dfb43b-c994-4bba-9aa5-e17da594c0ba.png)