Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c1579f7

Browse files
Fix the look of pills (#8545)
* Fix the look of pills Signed-off-by: Šimon Brandner <[email protected]> * Fix comment Co-authored-by: Robin <[email protected]> Co-authored-by: Robin <[email protected]>
1 parent 8add540 commit c1579f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

res/css/views/elements/_Pill.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616

1717
.mx_Pill {
18-
padding: $font-1px 0.4em $font-1px 0;
18+
padding: $font-1px 0.4em $font-1px 0.4em;
1919
line-height: $font-17px;
2020
border-radius: $font-16px;
2121
vertical-align: text-top;
@@ -47,6 +47,7 @@ limitations under the License.
4747
}
4848

4949
.mx_BaseAvatar {
50+
margin-left: -0.3em; // Otherwise the gap is too large
5051
position: relative;
5152
display: inline-flex;
5253
align-items: center;

0 commit comments

Comments
 (0)