Skip to content

Commit

Permalink
Merge "[ui] Fix anchor overlap" into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Timin authored and Gerrit Code Review committed Sep 30, 2024
2 parents fc5bb9d + 97a53a9 commit b4b75ee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
93a74d2983230b09da323b32f4f51f717b0c64b02ddf1d62c12091409248e5fe
098ee0afd6595fa48d2bd70fa0cca88f094f10991dd799b935f4ae123697e5c7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
276cfd8d58f19fdc543e01e79042c021d0f7e338822c106e7063c5118ccf6bb0
262c4822343595973f46b74e78ed9b8e77a2a4e1f7d59bffa3c5a1531bc7d140
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0d1b850b2e4a3fe71efb0be679d732bd397a3ab95145d8894d014e413e17ef14
8d14a199592ccdaee19d43c36abd3c8e4465a1f028b1fa60e28683b91a76b9ce
4 changes: 1 addition & 3 deletions ui/src/assets/widgets/anchor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
background $pf-anim-timing;

& > .material-icons {
// For some reason, floating this icon results in the most pleasing vertical
// alignment.
float: right;
vertical-align: bottom;
margin: 0 0 0 0px;
font-size: inherit;
line-height: inherit;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/widgets/anchor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export class Anchor implements m.ClassComponent<AnchorAttrs> {
return m(
'a.pf-anchor',
htmlAttrs,
icon && m('i.material-icons', icon),
children,
icon && m('i.material-icons', icon),
);
}
}

0 comments on commit b4b75ee

Please sign in to comment.