O
O
Ostap2020-05-21 16:18:23
React
Ostap, 2020-05-21 16:18:23

How to change shadow in Popover Material UI?

Hello!
Can't change box-shadow on Popover. All my styles are not applied.
Here is the class whose properties need to be changed

.MuiPaper-elevation8 {
    box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abr_ya, 2020-05-21
@Abr_ya

If I understood correctly, in the topic, something like this, it is redefined:

const defaultMaterialTheme = () => createMuiTheme({
         ...
   overrides: {
        <здесь пишем нужное свойство>
        ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question