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

navbar里的小图间距问题:调整图片间距调整后图片会换行 #487

Closed
xiaojueji opened this issue Jun 23, 2021 · 1 comment

Comments

@xiaojueji
Copy link

xiaojueji commented Jun 23, 2021

.viewer-list > li + li { margin-left: 5px; }

用该样式覆盖原来的 .viewer-list > li + li { margin-left: 1px; }navbar里的图片容器(viewer-list)整体宽度不会动态计算 导致图片换行

@xiaojueji
Copy link
Author

看了一下源码部分的render.js的第149行注释 这个margin-left的1px是固定在计算代码里的 这里margin-left是否可以加入到动态计算中去 获取开放相应的options

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

1 participant