Skip to content

Commit

Permalink
Merge pull request #277 from pbirrer/fix/text-app-preview
Browse files Browse the repository at this point in the history
fix: prevent preview div from collapsing to 0px height
  • Loading branch information
grnd-alt authored Nov 25, 2024
2 parents 8a92c20 + 0ecf9d2 commit 7cbbe87
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
top: 0;
}

.whiteboard-viewer__embedding {
min-height: min(200px, 50vh);
position: relative;
.whiteboard-viewer__embedding .App {
min-height: max(400px, 50vh);

.excalidraw-wrapper {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}

0 comments on commit 7cbbe87

Please sign in to comment.