MTG4WP/src/editor.scss

51 lines
692 B
SCSS
Raw Normal View History

2025-01-06 14:23:25 -06:00
.mtg-card {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}
.card-inputs {
flex: 1;
}
.card-preview {
width: 150px;
height: 210px;
display: flex;
align-items: center;
justify-content: center;
margin-left: 20px;
border: 1px solid #ccc;
background-color: #f9f9f9;
flex-shrink: 0;
}
.not-found,
.placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
color: #999;
}
.card-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.mtg-card+.mtg-card {
margin-top: 20px;
}
.components-text-control__input {
box-sizing: border-box;
}
button.components-button {
margin-top: 10px;
}