Skip to content
Snippets Groups Projects
  • Pratik Awasthi's avatar
    b28459dd
    [FIX] portal: set right color on text ellipsis when `a` tag is used in `td` · b28459dd
    Pratik Awasthi authored
    
    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>
    b28459dd
    History
    [FIX] portal: set right color on text ellipsis when `a` tag is used in `td`
    Pratik Awasthi authored
    
    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>