Skip to content

Commit

Permalink
fix(number-input): fix incorrect controls border for readonly mode (#…
Browse files Browse the repository at this point in the history
…11402)

### Related Ticket(s)

Closes #11390 

### Description

Fixed incorrect controls styles for readonly number input

### Changelog

**New**

- added some styles
  • Loading branch information
ko1ebayev authored Jan 19, 2024
1 parent 32d6083 commit 3b2149b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ $css--plex: true !default;
background-color: $border-subtle;
}

.#{$prefix}--number--readonly {
.#{$prefix}--number__controls {
.#{$prefix}--number__control-btn {
border-block-end: 0;
}
}
}

:host(#{$prefix}-number-input) {
::slotted(#{$prefix}-slug) {
position: absolute;
Expand Down

0 comments on commit 3b2149b

Please sign in to comment.