Skip to content

Commit

Permalink
Merge pull request #9903 from nextcloud/fix/one-line-layout-breaking-…
Browse files Browse the repository at this point in the history
…point

fix: thread padding
  • Loading branch information
GretaD authored Jul 24, 2024
2 parents 9b3225c + f019d55 commit 89a70d3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Thread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default {
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 30px 0;
padding: 0 0 10px 0;
// somehow ios doesn't care about this !important rule
// so we have to manually set left/right padding to chidren
// for 100% to be used
Expand All @@ -360,13 +360,16 @@ export default {
#mail-thread-header-fields {
// initial width
width: 0;
padding-left: 70px;
// while scrolling, the back button overlaps with subject on small screen
padding-left: 86px;
// grow and try to fill 100%
flex: 1 1 auto;
h2,
p {
padding-bottom: 7px;
margin-bottom: 0;
// some h2 styling coming from server add some space on top
margin-top: 5px;
}
p {
Expand Down

0 comments on commit 89a70d3

Please sign in to comment.