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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gridview aligned at home page #464

Merged
merged 1 commit into from
Mar 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/assets/stylesheets/maps.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,20 @@ html, body {
.map-list .map img {
max-height:300px;
}

.map-list .map h3 {
overflow:hidden;
}

.map-list .map {
clear:none;
display: inline-block
}

.map-list div:nth-child(4n+1){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃槷馃槷馃槷馃槷馃槷 馃帀

This is super!

Would it be possible to apply this to these styles as well?

https://github.com/publiclab/plots2/blob/master/app/views/grids/_thumbnail.html.erb

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will look into them!!!

clear:left;
}

code {
padding: 3px 5px;
color: #d14;
Expand Down