File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,9 @@ $inlineLabel-border-radius: 2px;
127127 padding-inline : awsui .$space-scaled-xxs ;
128128 max-inline-size : calc (100% - (2 * awsui .$space-field-horizontal ));
129129 z-index : 1 ;
130+ & -disabled {
131+ background : linear-gradient (to bottom , awsui .$color-background-layout-main , awsui .$color-background-input-disabled );
132+ }
130133}
131134
132135// Specific Styling for Inline Label Text to not overlap with Inline Tokens
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ const Trigger = React.forwardRef(
132132 htmlFor = { controlId }
133133 className = { clsx (
134134 styles [ 'inline-label' ] ,
135+ disabled && styles [ 'inline-label-disabled' ] ,
135136 triggerVariant === 'tokens' && styles [ 'inline-label-inline-tokens' ]
136137 ) }
137138 >
You can’t perform that action at this time.
0 commit comments