fix: unintentional padding in notification dropdown elements/lists

main
Julian Lam 3 years ago
parent 656f6d135c
commit b0e1172ed6

@ -173,14 +173,12 @@
}
.notif-dropdown-link {
// margin-top: 1em;
border-top: 1px solid rgba(163, 163, 163, 0.5);
padding: 0 5px 0 5px;
a {
display: block;
text-align: center;
padding: 0.5em 0;
padding: 0.5em 0.5em;
font-weight: 600;
}
}

@ -1,38 +1,42 @@
.notifications-list {
margin-top: 1em;
.dropdown-menu {
padding: 0;
li {
clear: both;
list-style-type: none;
padding: 1em;
margin-bottom: 0.5em;
.zebra;
.pointer;
.notifications-list {
margin-top: 1em;
padding: 0;
&:last-child {
margin-bottom: 0;
}
li {
clear: both;
list-style-type: none;
padding: 1em;
margin-bottom: 0.5em;
.zebra;
.pointer;
&.unread {
background: #fefbed;
}
&:last-child {
margin-bottom: 0;
}
.timestamp {
font-size: 0.8em;
}
&.unread {
background: #fefbed;
}
a {
display: block;
.text-ellipsis;
}
.timestamp {
font-size: 0.8em;
}
p {
margin: 0 0 0 30px;
}
a {
display: block;
.text-ellipsis;
}
p {
margin: 0 0 0 30px;
}
.user-img {
.user-icon-style(24px, 1rem, 50%);
.user-img {
.user-icon-style(24px, 1rem, 50%);
}
}
}
}
Loading…
Cancel
Save