Skip to content

Commit 8da3fda

Browse files
authored
Merge pull request #19650 from Simek/ui-improve-blog-cards-hover-styles
ui: improve blog cards hover appearance
2 parents e486468 + 719d287 commit 8da3fda

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

ui/bits/css/ublog/_post.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@
154154
display: block;
155155
}
156156
}
157-
.ublog-post-card--link:hover {
158-
box-shadow: none;
159-
}
160157
}
161158

162159
#mod-tools {

ui/lobby/css/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
}
6464

6565
&__blog {
66-
margin: 1.2em 0;
66+
padding: 1.2em 0;
6767
}
6868

6969
&__support {

ui/lobby/css/_lobby.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ body {
103103
.ublog-post-card {
104104
background: $c-bg-box;
105105
&:hover {
106-
box-shadow: none;
106+
@extend %box-shadow;
107+
background: $c-bg-zebra;
107108
}
108109
.user-link {
109110
border-radius: $box-radius-size 0 0 0;

0 commit comments

Comments
 (0)