I am trying to contribute in open source for the first time. I am styling an image(to be more specific .. size of the image) in react(by passing src or url of image and size as two props to a custom component) using scss and it works fine when url is web based for example url="https://source.unsplash.com/1000x2000/?Nature". But when I pass it in data uri format like this -> url="data:image/svg+xml;base64,PHN2Z....." to my custom react component as a prop, size has no affect on the image.
So I just want to know whether there is any difference I should be aware of while styling this custom react component.
Note :- The problem only occur when I pass a additional "fullScreen" prop which just shows the image in full screen. But it works fine when i pass a web based URL and not a data URI. It also works with data URI when I don't pass the fullScreen prop to my react component.