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

Fit images to the parent element in announcement #373

Open
elhananjair opened this issue Jul 13, 2021 · 1 comment
Open

Fit images to the parent element in announcement #373

elhananjair opened this issue Jul 13, 2021 · 1 comment

Comments

@elhananjair
Copy link

Steps to reproduce

  1. Insert an image to detail of announcement

Expected behaviour

I expect the image resides or fits the width of the parent container/element.

Actual behaviour

The image width exceeds the size of the parent element

Server configuration

Operating system:
Fedora Server
Web server:
Apache
Database:
PostgreSQL
PHP version:
7.4.21
Nextcloud version: (see Nextcloud admin page)
21.0.2
Where did you install Nextcloud from:
Official Website

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser:
Chromium
Operating system:
Fedora 34

announcemnt-image-cut
announcement

@elhananjair
Copy link
Author

I think setting the element width to 100% will fix the problem, I tried to set it on browser to test it, and it is now inherits the parent element width so that it doesn't escape from the parent width. But couldn't find a source file to permanently change that property, or I think this can be fixed by you @nickvergessen. Thanks
announcement-fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants