image.scss
TLDR
This file contains styling information for the Image component in the Blocks Editor. It includes CSS class definitions for .Image
and .ImageView
.
Classes
Image
The .Image
class is used to hide the Image component. It sets the display
property to none
, effectively hiding the element from view.
ImageView
The .ImageView
class sets a maximum width of 400 pixels for the Image component. This ensures that the image is displayed within a specific width, limiting its size on the page.
.Image {
display: none;
}
.ImageView {
max-width: 400px;
}