Skip to content

Commit

Permalink
update editor detail image height
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca committed Jun 5, 2024
1 parent 55cbadd commit 98c87ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spx-gui/src/components/editor/sprite/CostumeDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const [imgSrc, imgLoading] = useFileUrl(() => props.costume.img)
<style lang="scss" scoped>
.img-wrapper {
width: 100%;
aspect-ratio: 4 / 3;
flex: 1 1 0;
background-image: url(./costume-bg.svg);
}
.img {
Expand Down
2 changes: 1 addition & 1 deletion spx-gui/src/components/editor/stage/BackdropDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const [imgSrc, imgLoading] = useFileUrl(() => props.backdrop.img)
<style lang="scss" scoped>
.img {
width: 100%;
aspect-ratio: 4 / 3;
flex: 1 1 0;
border-radius: 8px;
}
</style>

0 comments on commit 98c87ed

Please sign in to comment.