css: fix styling of selected post in parent/child box.
* On the post show page, in the parent/child box, change it so that currently selected post is more visible. Use a light blue outline around the current post instead of a dark semi-transparent border. * Fix it so that there's less empty space around thumbnails in the parent/child box.
This commit is contained in:
@@ -37,10 +37,15 @@
|
||||
|
||||
article.post-preview {
|
||||
width: auto;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 5px 5px 10px;
|
||||
max-width: 154px;
|
||||
height: auto;
|
||||
margin: 0.5rem 0.25rem;
|
||||
padding: 0.25rem;
|
||||
overflow: hidden;
|
||||
vertical-align: top;
|
||||
|
||||
&.current-post {
|
||||
outline: 3px solid var(--preview-selected-color);
|
||||
}
|
||||
|
||||
img {
|
||||
white-space: normal;
|
||||
|
||||
Reference in New Issue
Block a user