Skip to content

Commit

Permalink
Improve CSS styling of lists in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Dec 17, 2024
1 parent 68a74f1 commit 481b825
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
11 changes: 6 additions & 5 deletions pontoon/base/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ header .right .select .menu {
}

.notifications .menu li.notification-item .description ul {
list-style: inside;
padding-top: 10px;
list-style: disc;
padding: 10px 0 10px 20px;
}

.notifications .menu li.notification-item .message {
Expand Down Expand Up @@ -833,15 +833,16 @@ header .right .select .menu {
}

.notifications .menu li.notification-item .message p {
padding: 5px 0;
padding: 10px 0;
}

.notifications .menu li.notification-item .message ol {
margin-left: 1.2em;
padding-left: 20px;
}

.notifications .menu li.notification-item .message ul {
list-style: inside;
list-style: disc;
padding: 10px 0 10px 20px;
}

/* End message styling */
Expand Down
22 changes: 16 additions & 6 deletions translate/src/modules/user/components/UserNotification.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@
}

.user-notification .description ul {
list-style: inside;
margin-left: 0;
padding: 12px 0 0 4px;
list-style: disc;
margin: 0;
padding: 10px 0 10px 20px;
}

.user-notification .description ul li {
padding: 2px 4px;
}

.user-notification .message {
Expand Down Expand Up @@ -102,15 +106,21 @@
}

.user-notification .message p {
padding: 5px 0;
padding: 10px 0;
}

.user-notification .message ol {
margin-left: 1.2em;
margin-left: 20px;
}

.user-notification .message ul {
list-style: inside;
list-style: disc;
margin: 0;
padding: 10px 0 10px 20px;
}

.user-notification .message ul li {
padding: 2px 4px;
}
/* End message styling */

Expand Down

0 comments on commit 481b825

Please sign in to comment.