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

Problems with Preview (large videos break layout and close button has double "x") #1225

Open
Zodiac1978 opened this issue Mar 7, 2023 · 1 comment

Comments

@Zodiac1978
Copy link

Hi there!

At first, thank you for this great project!

A client asked me to update his ProjectSend installation and afterwards we saw some small glitches I wanted to report.

My client is producing videos and therefore he has very large video files (HD: 1920x1080). Unfortunately, they break out of the layout and do not stay in the DIV wrapper.

I could fix this with this small CSS snippet in the highly appreciated CSS section:

.embed-responsive video {
  max-width: 100%;
}

The preview modal also shows two "x" as close button. One is a × and the other one is added via CSS:

Bildschirmfoto 2023-03-07 um 12 25 39

This could be fixed with this small CSS snippet (maybe there are better ways, but it solves the problem for me):

.modal-header .btn-close {
  text-indent: -9999px;
}

Maybe this could be added in some way or is helping other users!

@Zodiac1978 Zodiac1978 changed the title Problems with Preview (large videos break layout and close button has double "x" Problems with Preview (large videos break layout and close button has double "x") Mar 7, 2023
@gravelfreeman
Copy link

Thank you so much it fixed it 💯

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

No branches or pull requests

2 participants