Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: Bg styling in text* components
  • Loading branch information
im3dabasia committed May 5, 2025
commit e63334c7b620410dec2658d9ad05dfb9f9d649e0
2 changes: 1 addition & 1 deletion packages/components/src/text-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
height: $grid-unit-40;
// Override input style margin in WP forms.css.
margin: 0;
background: transparent;
background: $components-color-background;
color: $components-color-foreground;
@include input-control;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const StyledTextarea = styled.textarea`
display: block;
font-family: ${ font( 'default.fontFamily' ) };
line-height: 20px;
background: transparent;
background: ${ COLORS.theme.background };
color: ${ COLORS.theme.foreground };

// Vertical padding is to match the standard 40px control height when rows=1,
Expand Down