Skip to content
Snippets Groups Projects
Commit b28459dd authored by Pratik Awasthi's avatar Pratik Awasthi Committed by Xavier Bol (xbo)
Browse files

[FIX] portal: set right color on text ellipsis when `a` tag is used in `td`


Before this commit, when `a` tag is in a td, the color of text ellipsis
(3 dots) is different than the text because the text-ellipsis is set on
the parent element, that is `td` element and the color is set on the `a`.

This commit sets the right color on td element when that element has `a`
element.

Limitation (only for td inside element with `o_portal_my_doc_table` class):
if the `td` element contains `a` tag and another element
then the color has to be set to that other html element otherwise,
the color will be the one of the a tag.

task-3251721

closes odoo/odoo#124447

Signed-off-by: default avatarXavier Bol (xbo) <xbo@odoo.com>
parent 38ca3917
No related branches found
No related tags found
No related merge requests found
......@@ -342,6 +342,10 @@ img, .media_iframe_video, .o_image {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:has(a) {
color: $primary;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment