Skip to content

Commit

Permalink
šŸ› FIX: message iframe vertically doesn't fit the container / availabl…
Browse files Browse the repository at this point in the history
…e space

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
  • Loading branch information
violoncelloCH committed Nov 7, 2019
1 parent 767cfea commit 6a73272
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion css/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
background: #fff;
width: 100%;
left: 0;
height: 100%;
top: 0;
}

Expand Down
1 change: 1 addition & 0 deletions src/components/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export default {
}
.mail-message-body {
flex-grow: 1;
margin-bottom: 100px;
}
Expand Down
12 changes: 4 additions & 8 deletions src/components/MessageHTMLBody.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,19 @@ export default {
#mail-content {
margin-left: 30px;
margin-top: 2px;
display: flex;
flex-direction: column;
height: 100%;
}
#mail-message-has-blocked-content {
margin-left: 8px;
}
#message-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
flex-grow: 1;
}
#message-frame {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
2 changes: 2 additions & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,7 @@ export default {
::v-deep #app-content #app-content-wrapper .app-content-details {
margin: 0 auto;
max-width: 900px;
display: flex;
flex-direction: column;
}
</style>

0 comments on commit 6a73272

Please sign in to comment.