Last Sync: 2026-07-23 22:02 (Mobile)
This commit is contained in:
1 parent
d87ed50df0
commit
d7393d358f
8 files changed
+6970
-6641
No files matched your search
+63
@@ -1893,6 +1893,69 @@
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Per-column clip (issue #45) — declared after the wrap rules on purpose:
|
||||
same specificity, so source order lets clip win when the view-wide wrap is on */
|
||||
.nb-td--clip {
|
||||
/* Sob table-layout auto, conteúdo nowrap alargaria a coluna (o "auto-fit"
|
||||
da issue). max-width: 0 tira o conteúdo do cálculo de largura e faz a
|
||||
célula respeitar a largura configurada, ativando o ellipsis.
|
||||
height: 1px permite que o .nb-td-inner use height: 100% e preencha a
|
||||
altura real da linha (que pode ser maior por causa de colunas com wrap),
|
||||
mantendo toda a célula clicável; age como mínimo, a célula ainda estica. */
|
||||
max-width: 0;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.nb-td--clip .nb-td-inner {
|
||||
height: 100%;
|
||||
max-height: none;
|
||||
min-height: var(--nb-row-height);
|
||||
overflow: hidden;
|
||||
align-items: stretch;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nb-td--clip .nb-cell-text,
|
||||
.nb-td--clip .nb-cell-clickable {
|
||||
white-space: nowrap;
|
||||
word-break: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
min-height: var(--nb-row-height);
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Ellipsis opcional (issue #51) — classe aplicada ao wrapper quando a
|
||||
configuração "Show ellipsis when clipping text" está desligada */
|
||||
.nb-clip-hard .nb-td--clip .nb-cell-text,
|
||||
.nb-clip-hard .nb-td--clip .nb-cell-clickable {
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
/* Cabeçalho estreitável (issue #51): somente colunas com largura definida
|
||||
pelo usuário param de impor min-content — o nome trunca quando faltar
|
||||
espaço. Colunas nunca redimensionadas mantêm o auto-ajuste de sempre. */
|
||||
.nb-th--fixed {
|
||||
max-width: 0;
|
||||
}
|
||||
|
||||
.nb-th--fixed .nb-header-label {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.nb-th--fixed .nb-header-name {
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nb-th--fixed .nb-th-inner-title > div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* ── Linha de agregação ─────────────────────────────────────────────────────── */
|
||||
|
||||
.nb-tfoot {
|
||||
|
||||
Reference in new issue
Block a user