Skip to content

Commit

Permalink
fix: [M3-7812] Textfield input disabled styles (#10231)
Browse files Browse the repository at this point in the history
* Fix textfield disabled sty;es

* Add missing prop to confirmation modal

* Added changeset: Disabled styles for Textfield input

* uh oh - will follow that up in sepearet ticket

* got it: improve interface

* save for later
  • Loading branch information
abailly-akamai authored Feb 27, 2024
1 parent fd9617d commit f08d42c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10231-fixed-1708986686253.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Disabled styles for Textfield input ([#10231](https://github.com/linode/manager/pull/10231))
6 changes: 5 additions & 1 deletion packages/manager/src/foundations/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,13 @@ export const lightTheme: ThemeOptions = {
color: primaryColors.main,
fontSize: 18,
},
'&$disabled': {
'&.Mui-disabled': {
backgroundColor: '#f4f4f4',
borderColor: '#ccc',
color: 'rgba(0, 0, 0, 0.75)',
input: {
cursor: 'not-allowed',
},
opacity: 0.5,
},
'&.Mui-error': {
Expand Down

0 comments on commit f08d42c

Please sign in to comment.