Skip to content

Commit 704d4c7

Browse files
[FIX] web_widget_popover: align the icon with the row text in list views
1 parent e840f65 commit 704d4c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

web_widget_popover/static/src/popover.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<templates xml:space="preserve">
33

44
<t t-name="web_widget_popover.IconPopoverField">
5-
<span
5+
<!-- An <i>, not a <span>: list cells force `vertical-align: top` on
6+
spans of char fields, which pushes the icon above the row text. -->
7+
<i
68
t-if="value"
79
t-attf-class="fa {{props.icon}}"
810
t-att-data-tooltip-info='tooltipInfo'

0 commit comments

Comments
 (0)