We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 64e3dc3 + 348c3f8 commit 2e3c392Copy full SHA for 2e3c392
src/components/NcInputField/NcInputField.vue
@@ -430,7 +430,7 @@ export default {
430
position: absolute;
431
margin-inline: 14px 0;
432
max-width: fit-content;
433
- inset-block-start: 11px;
+ inset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically
434
inset-inline: 0;
435
// Fix color so that users do not think the input already has content
436
color: var(--color-text-maxcontrast);
0 commit comments