Skip to content

Commit

Permalink
improve and unify image generation previews style
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Feb 2, 2024
1 parent 9859215 commit 90af780
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/components/Text2Image/Text2ImageDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,6 @@ export default {
.display-container {
display: flex;
flex-direction: column;
max-width: 600px;
width: 100%;
align-items: center;
justify-content: center;
.edit-icon {
Expand Down
3 changes: 2 additions & 1 deletion src/views/Text2Image/Text2ImageCustomPickerElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export default {
}
.preview-container {
width: 90%;
width: 100%;
.image-preview {
display: flex;
Expand All @@ -370,6 +370,7 @@ export default {
border: 3px solid var(--color-border);
border-radius: var(--border-radius-large);
padding: 12px;
width: 100%;
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/views/Text2Image/Text2ImageGenerationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,11 @@ export default {
.image {
display: flex;
flex-direction: column;
border-radius: var(--border-radius);
margin-top: 8px;
max-width: 600px;
border: 3px solid var(--color-border);
border-radius: var(--border-radius-large);
padding: 12px;
}
.button-wrapper {
Expand Down
1 change: 0 additions & 1 deletion src/views/Text2Image/Text2ImageReferenceWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default {
flex-direction: column;
width: 100%;
border-radius: var(--border-radius);
margin-top: 8px;
}
}
</style>

0 comments on commit 90af780

Please sign in to comment.