Skip to content

Commit

Permalink
fix(blocks): button styling when disabled on embed card edit popup (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 10, 2024
1 parent 0a8bd0e commit e31934e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,15 @@ export class EmbedCardEditModal extends SignalWatcher(
.row.actions .button:disabled {
pointer-events: none;
color: ${unsafeCSSVarV2('text/disable')};
background: ${unsafeCSSVarV2('button/disable')};
}
.row.actions .button.save {
color: ${unsafeCSSVarV2('button/pureWhiteText')};
background: ${unsafeCSSVarV2('button/primary')};
}
.row.actions .button[disabled].save,
.row.actions .button:disabled.save {
opacity: 0.5;
}
`;

private _blockComponent: BlockComponent | null = null;
Expand Down

0 comments on commit e31934e

Please sign in to comment.