Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a conflicting rule that set a different height?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the app-content-details, that breaks the message content.
https://github.com/nextcloud/mail/pull/10571/files#diff-2dc54a20fa4ab6845b4b0f252336e107d33a13f5c05d966e5c104770a1b292fdR204
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't that just added with 8089ccb?
This doesn't smell like a maintainable solution if the v-deep is leaking to places it shouldn't and we have to pull the
!important
overwrite to push back.Would it be possible to get rid of the deep selector?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, thats what i linked on my first reply.
Its not that easy. My understanding is app-content-details shouldnt have the height:100%, but empty content should have it 100%.

I agree that we shouldnt force things, but i dont see how i can fix it differently. What i noticed now is that the style of .app-content-details is coming from contacts (!), which breaks our message content.
i have no idea why is this happening, need to investigate it better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Contacts missing
scoped
for the component styles?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it comes from a css file: https://github.com/nextcloud/contacts/blob/main/src/css/contacts.scss#L25
I dont see any vue component on contacts not to be scoped and has this class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move the css file into the app component that uses the lib component that is being styled?