-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show the paint app inside imagine (#105)
* launch the paint app by clicking the "paint an image" link * add the "use on imagine" button * rename from ImagineContainer to ImagineLayout * rename from MainContainer to MainLayout * add the ImagineBase component to simplify pages relates to imagine * show image inputs for base image and mask in a row * add the "paint a mask" link
- Loading branch information
1 parent
06f49e1
commit f797daa
Showing
39 changed files
with
531 additions
and
617 deletions.
There are no files selected for viewing
35 changes: 7 additions & 28 deletions
35
morpheus-client/components/Excalidraw/Excalidraw.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,13 @@ | ||
@use "../../styles/variables"; | ||
@use "styles/media"; | ||
|
||
.modalContainer { | ||
z-index: 9999; | ||
width: 100vw; | ||
height: 100vh; | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
background: rgba(0, 0, 0, 0.7); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.modalBody { | ||
background: white; | ||
width: 50vw; | ||
max-width: variables.$max-width-landing; | ||
height: 50vh; | ||
padding: 24px; | ||
border-radius: 24px; | ||
display: flex; | ||
justify-content: center; | ||
overflow-y: auto; | ||
.paintContainer { | ||
width: 100%; | ||
height: 100%; | ||
max-height: calc(100vh - 180px); | ||
|
||
@include media.mobile { | ||
height: 68vh !important; | ||
padding: 16px 16px 0 16px; | ||
margin-top: 60px; | ||
max-height: calc(100vh - 160px); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.