Skip to content
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

background colour of journal-container and body are same in somes activities #1181

Closed
Ayeshashaik759 opened this issue Feb 2, 2023 · 8 comments
Labels
enhancement to be release Fixed, to be release
Milestone

Comments

@Ayeshashaik759
Copy link
Contributor

Ayeshashaik759 commented Feb 2, 2023

when we click on insert option in write activity then a pop up opens in that when we go to search in abecedarium activity then as the background colour of the journal-container and body are same due to this there is no special highligth for background of scrollbar

Screenshot (123)
I just want to suggest that it will nice if the scroll bar have some background colour which can be implemented by changing the background colour of the journal-container. @llaske please share your view on this

somewhat like this
Screenshot (124)

@llaske
Copy link
Owner

llaske commented Feb 4, 2023

Hmmm. Why not?
BTW I'm not sure that fixing this without side effect is easy.
This feature rely both on CSS and JS components.

@Ayeshashaik759
Copy link
Contributor Author

Ayeshashaik759 commented Feb 5, 2023

yes @llaske you are right I tried to make the changes by changing the code in activities/Write.activity/css/quill/quill.core.css file. By manual testing (i.e by opening it in browser) I observed that all the scroll bars of the write activity are changed hence side effect occurs. so I will try to find some way to change the background of scroll bar only in case of insert image option. Till then any suggestion from all are welcome.

Screenshot (125)

@llaske
Copy link
Owner

llaske commented Feb 5, 2023

You must not change styles in external libraries because if the library is upgraded your change will be lost.
Plus the issue is the same in other activities (Write for example) so it's not related to Quill library.

@Ayeshashaik759
Copy link
Contributor Author

Ok i will not change the external libraries instead i will try to get the excepted changes using activity.css

@Ayeshashaik759
Copy link
Contributor Author

@llaske I think now it is working fine this time I made changes to the activity.css. And the remaining scrollbars are also working fine without any change. I reopened the pr please share your view on it.
Screenshot (126)

@llaske llaske changed the title background colour of journal-container and body are same in write activity background colour of journal-container and body are same in somes activities Feb 9, 2023
@llaske
Copy link
Owner

llaske commented Feb 9, 2023

Same issue in Paint, Shared Notes and Fototoon.

@Ayeshashaik759
Copy link
Contributor Author

Ayeshashaik759 commented Feb 10, 2023

All the activities inherit same properties and opacity from the library lib/picoModel.js but still difference occurs. Another way to solve this issue and make the scrollbar visible is to change the opacity for this activities but confused with were to make the changes as the changes are not applied by making changes to acticity.css. Ans as we cannot make changes to the libraries.

@llaske
Copy link
Owner

llaske commented Feb 11, 2023

Fixed in #1184

@llaske llaske added the to be release Fixed, to be release label Feb 11, 2023
@llaske llaske added this to the v1.7 milestone Mar 28, 2023
@llaske llaske closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement to be release Fixed, to be release
Projects
None yet
Development

No branches or pull requests

2 participants