Skip to content

Po Table: diferenças entre colunas com e sem tipo number #1800

Discussion options

You must be logged in to vote

Oi @gtrabach , passei por essa situação recentemente.

Vi inspecionando o elemento que uma classe CSS é adicionada para o campo do tipo number a fim de alinhá-lo à direita, mas realmente não surte efeito.

Para contornar esse problema eu criei um código CSS específico no meu projeto:

po-table {
    .po-table-column+.po-table-column-right {
        .po-table-column-cell {
          display: contents;
        }
    }
}

Usei o valor contents, mas outros como inline e inline-flex também atendem. A minha ideia foi tirar o display: block de padrão, e atendeu.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gtrabach
Comment options

Answer selected by anliben
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: answered Issue with answer correct or accept
3 participants