diff --git a/test/data/ui-screenshots/chrome_rendering_desktop.test.ts/slice-with-flows/slice-with-flows.png.sha256 b/test/data/ui-screenshots/chrome_rendering_desktop.test.ts/slice-with-flows/slice-with-flows.png.sha256 index e3ab16b77a..6c551c66cf 100644 --- a/test/data/ui-screenshots/chrome_rendering_desktop.test.ts/slice-with-flows/slice-with-flows.png.sha256 +++ b/test/data/ui-screenshots/chrome_rendering_desktop.test.ts/slice-with-flows/slice-with-flows.png.sha256 @@ -1 +1 @@ -93a74d2983230b09da323b32f4f51f717b0c64b02ddf1d62c12091409248e5fe \ No newline at end of file +098ee0afd6595fa48d2bd70fa0cca88f094f10991dd799b935f4ae123697e5c7 \ No newline at end of file diff --git a/test/data/ui-screenshots/sql_table_tab.test.ts/ShowTable-command/slices-table.png.sha256 b/test/data/ui-screenshots/sql_table_tab.test.ts/ShowTable-command/slices-table.png.sha256 index c088694127..4c072d1399 100644 --- a/test/data/ui-screenshots/sql_table_tab.test.ts/ShowTable-command/slices-table.png.sha256 +++ b/test/data/ui-screenshots/sql_table_tab.test.ts/ShowTable-command/slices-table.png.sha256 @@ -1 +1 @@ -276cfd8d58f19fdc543e01e79042c021d0f7e338822c106e7063c5118ccf6bb0 \ No newline at end of file +262c4822343595973f46b74e78ed9b8e77a2a4e1f7d59bffa3c5a1531bc7d140 \ No newline at end of file diff --git a/test/data/ui-screenshots/sql_table_tab.test.ts/slices-with-same-name/slices-with-same-name.png.sha256 b/test/data/ui-screenshots/sql_table_tab.test.ts/slices-with-same-name/slices-with-same-name.png.sha256 index 93a62f37cd..c8d49d857c 100644 --- a/test/data/ui-screenshots/sql_table_tab.test.ts/slices-with-same-name/slices-with-same-name.png.sha256 +++ b/test/data/ui-screenshots/sql_table_tab.test.ts/slices-with-same-name/slices-with-same-name.png.sha256 @@ -1 +1 @@ -0d1b850b2e4a3fe71efb0be679d732bd397a3ab95145d8894d014e413e17ef14 \ No newline at end of file +8d14a199592ccdaee19d43c36abd3c8e4465a1f028b1fa60e28683b91a76b9ce \ No newline at end of file diff --git a/ui/src/assets/widgets/anchor.scss b/ui/src/assets/widgets/anchor.scss index 289492892d..60aa5a02ac 100644 --- a/ui/src/assets/widgets/anchor.scss +++ b/ui/src/assets/widgets/anchor.scss @@ -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; diff --git a/ui/src/widgets/anchor.ts b/ui/src/widgets/anchor.ts index e60134c00c..b1b0eff655 100644 --- a/ui/src/widgets/anchor.ts +++ b/ui/src/widgets/anchor.ts @@ -27,8 +27,8 @@ export class Anchor implements m.ClassComponent { return m( 'a.pf-anchor', htmlAttrs, - icon && m('i.material-icons', icon), children, + icon && m('i.material-icons', icon), ); } }