Skip to content

Commit

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

### Related Ticket(s)

Closes carbon-design-system#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 8606e53 commit fab300d
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 fab300d

Please sign in to comment.