Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
This commit is contained in:
@ -158,7 +158,7 @@
|
||||
font-size: 14px;
|
||||
padding: 0 10px;
|
||||
padding-left: 8px;
|
||||
padding-bottom: 25px;
|
||||
padding-bottom: 15px;
|
||||
color: #282c37;
|
||||
|
||||
a {
|
||||
@ -189,4 +189,33 @@
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.media-attachments {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding-left: 10px;
|
||||
|
||||
li {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 120px;
|
||||
height: 100px;
|
||||
border-radius: 4px;
|
||||
margin-right: 4px;
|
||||
margin-bottom: 25px;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
width: 120px;
|
||||
height: 100px;
|
||||
border-radius: 4px;
|
||||
background-position: center;
|
||||
background-repeat: none;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user