Skip to content

Commit

Permalink
Fix padding in controlbox.
Browse files Browse the repository at this point in the history
We want highlighted items to have a full width, so we need to pad the
individual `li` elements.
  • Loading branch information
jcbrand committed Dec 10, 2024
1 parent 4f9938c commit 9c60a08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/plugins/controlbox/styles/_controlbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
display: block;
}

converse-user-profile {
padding: 0.5em 1em;
}

.brand-name-wrapper {
font-size: 200%;
padding-inline-end: 0.5em;
Expand Down Expand Up @@ -141,6 +137,7 @@
}

.controlbox-padded {
padding: 0 0.5em;
align-items: center;
line-height: normal;
}
Expand All @@ -152,7 +149,7 @@
left: 0;
overflow-x: hidden;
overflow-y: auto;
padding: 0.5em;
padding: 0;
text-align: start;

.add-converse-contact {
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/profile/styles/profile.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
converse-user-profile {
padding: 0.5em;

.change-status {
min-width: 25px;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/roomslist/styles/roomsgroups.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

.list-item {
padding: 0;
padding: 0 0.5em;
.open-room {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit 9c60a08

Please sign in to comment.