mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Make relevant posts span full width on mobile
This commit is contained in:
parent
0f577d28d5
commit
1f9be042dd
|
@ -224,6 +224,11 @@
|
|||
& .relevant-posts {
|
||||
margin-bottom: 20px;
|
||||
|
||||
@media @phone {
|
||||
margin-left: -45px;
|
||||
margin-right: -35px;
|
||||
}
|
||||
|
||||
& .post-preview {
|
||||
background: @fl-body-secondary-color;
|
||||
display: block;
|
||||
|
@ -240,7 +245,7 @@
|
|||
border-radius: @border-radius-base @border-radius-base 0 0;
|
||||
}
|
||||
&:hover {
|
||||
background: darken(@fl-body-secondary-color, 2%);
|
||||
background: darken(@fl-body-secondary-color, 3%);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user