Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Modify spacing between thumbnails (more than 2 images) #169

Closed
MiaAlSaif opened this issue Oct 26, 2018 · 5 comments
Closed

Modify spacing between thumbnails (more than 2 images) #169

MiaAlSaif opened this issue Oct 26, 2018 · 5 comments

Comments

@MiaAlSaif
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[x] Support request

Current behavior

Currently the thumbnail images are poorly laid out, meaning there is no even spacing in between, especially vertically where the images basically connect.

Expected behavior

I would like to add spacing between the thumbnails to be more esthetically appealing. I have tried in different several ways to style the elements in my component css file, but was not successful. I also was not able to locate any documentation on the subject. Could you please advice on how to accomplish this?

Minimal reproduction of the problem with instructions

My official live example on StackBlitz (based on https://stackblitz.com/edit/angular-modal-gallery-v5) is:

What is the motivation / use case for changing the behavior?

Environment (the most important section to fill very carefully)


- Node version: v10.10.0 
- npm version: 6.4.1  
- Operating System and version: Mac  
- Angular version: 6.2.4 
- angular-cli version (or SystemJS/Webpack): 6.2.4 
- I'm using Server Side Rendering with angular-universal: YES
- I'm compiling with mode: PROD 



Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

@Ks89
Copy link
Owner

Ks89 commented Oct 26, 2018

You are right I'll add a small margin in next releases.
However, right now you can create your own custom layout using your css. I have some examples both in the doc and in the repo.

@MiaAlSaif
Copy link
Author

Hi,

Thank you for your prompt response. I was unable to locate the docs on that, could you please directly link here?

Cheers!

Ks89 added a commit that referenced this issue Oct 28, 2018
@Ks89
Copy link
Owner

Ks89 commented Oct 28, 2018

Fixed in develop branch and scheduled for the next 7.0.0 beta version.

PS: 7.0.0 will be release in November, however right now you can use a custom layout using examples in my previous post.

Issue closed, thank your for the issue.

@Ks89 Ks89 closed this as completed Oct 28, 2018
@Ks89 Ks89 added this to the 7.0.0 milestone Oct 28, 2018
@MiaAlSaif
Copy link
Author

Thank you for the links! I was able to adjust padding.

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

No branches or pull requests

2 participants