Skip to content

Commit

Permalink
Merge pull request #5766 from nextcloud-libraries/bugfix/fix-input-fi…
Browse files Browse the repository at this point in the history
…eld-label-alignment

Fix input field label alignment
  • Loading branch information
marcoambrosini authored Jul 3, 2024
2 parents bac41a8 + f7a13e7 commit aad4c71
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 @@ -428,7 +428,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 aad4c71

Please sign in to comment.