Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion framework/core/less/common/ColorInput.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
}

&-icon {
text-align: center;
color: var(--validation-error-color);

// FontAwesome Kit overrides display which breaks vertical centering
// Use flexbox with !important to maintain proper icon alignment
display: flex !important;
align-items: center !important;
justify-content: center;
}
}
13 changes: 8 additions & 5 deletions framework/core/less/common/Input.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
font-size: 14px;
text-align: center;
position: absolute;
line-height: 1.5;
pointer-events: none;

// FontAwesome Kit overrides display which breaks vertical centering
// Use flexbox with !important to maintain proper icon alignment
height: 100%;
display: flex !important;
align-items: center !important;
justify-content: center;
}

.FormControl {
Expand Down Expand Up @@ -55,14 +61,11 @@
height: 100%;
}

.Button, &-prefix-icon {
.Button {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.Button {
position: absolute;
right: 0;
top: 0;
Expand Down
Loading