Skip to content

Commit

Permalink
Merge pull request #5768 from nextcloud-libraries/backport/5766/next
Browse files Browse the repository at this point in the history
[next] Fix input field label alignment
  • Loading branch information
susnux authored Jul 3, 2024
2 parents 64e3dc3 + 348c3f8 commit 2e3c392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NcInputField/NcInputField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export default {
position: absolute;
margin-inline: 14px 0;
max-width: fit-content;
inset-block-start: 11px;
inset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically
inset-inline: 0;
// Fix color so that users do not think the input already has content
color: var(--color-text-maxcontrast);
Expand Down

0 comments on commit 2e3c392

Please sign in to comment.