-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple fixes #6954
Multiple fixes #6954
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
88dd943
to
b3a0348
Compare
b3a0348
to
c32fab6
Compare
@pascalwengerter @fschade we did some small fixes across the app. Is it ok to create a cumulative issue & pr for them? |
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.
Could you add some changelog items? In general most of it LGTM, added some minor suggestions. Happy to merge soon
height: calc(100% - 42px); | ||
} | ||
|
||
#text-editor-input { |
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.
Why not use the oc-height-1-1
for this element also and remove the custom style rule? :)
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.
If I set the class, it sets the div around <textarea> to 100% but not <textarea> itself. So the class passing would need to be implemented in ocTextarea for this purpose.
#text-editor-preview { | ||
max-height: 80vh; | ||
overflow-y: scroll; | ||
} | ||
#text-editor-input { | ||
resize: vertical; | ||
} | ||
.editor-wrapper-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.
I'd prefer working with a full-height parent element and paddings/margins instead. Do you think that could work?
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.
@@ -338,6 +338,7 @@ export default defineComponent({ | |||
|
|||
&__body { | |||
overflow-y: auto; | |||
overflow-x: hidden; |
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.
What does this prevent?
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.
@pascalwengerter In case the email is long, the horizontal scroll appears. Happens to all emails at CERN, I described in #6973
a001acf
to
beba9b8
Compare
Kudos, SonarCloud Quality Gate passed!
|
Description
Types of changes
Checklist:
Open tasks: