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