Closed jmanacup closed 1 year ago
For some reason, changing the `display` of `bm-item` does not reflect back. It is still always `display: block`. Can anyone double check to see if this is only happening in my end?
Originally posted by @jmanacup in https://github.com/negomi/react-burger-menu/issues/249#issuecomment-1472725214
EDIT: I needed to add !important after changing the code to make it work. Is that how it is supposed to be?
!important
Hi @jmanacup, if you're using CSS then yes, you would have to use !important. If passing styles as a JS object then it wouldn't be necessary.
Originally posted by @jmanacup in https://github.com/negomi/react-burger-menu/issues/249#issuecomment-1472725214
EDIT: I needed to add
!important
after changing the code to make it work. Is that how it is supposed to be?