fix(editor): v4.8.1 bloc Tableau - +Row, +Colonne a droite, redim colonnes
- + Row (bas) ne fonctionnait pas: splice(index,ligne) -> splice(index,0,ligne) - bouton + a droite du tableau = ajoute une colonne a droite - redimensionnement colonnes a la souris (curseur col-resize) + persistance colsW - VERSION/CHANGELOG/ROADMAP/css?v bump 4.8.1
This commit is contained in:
+22
-1
@@ -4451,9 +4451,29 @@ button.breadcrumb-current { max-width: 260px; }
|
||||
font-size: 15px; line-height: 1.5; color: var(--text-primary);
|
||||
outline: none; text-align: left; word-break: break-word; overflow-wrap: break-word;
|
||||
}
|
||||
.ftable-edit th.ftable-cell { background: var(--bg-secondary); font-weight: 600; }
|
||||
.ftable-edit th.ftable-cell { background: var(--bg-secondary); font-weight: 600; position: relative; }
|
||||
.ftable-edit .ftable-cell:hover { background: var(--bg-hover); }
|
||||
.ftable-edit .ftable-cell:focus { background: var(--bg-hover); box-shadow: inset 0 0 0 1px var(--blue); }
|
||||
.ftable-edit .ftable-resize {
|
||||
position: absolute; top: 0; bottom: 0; right: -3px; width: 7px;
|
||||
cursor: col-resize; z-index: 3;
|
||||
}
|
||||
.ftable-edit .ftable-resize::after {
|
||||
content: ""; position: absolute; top: 0; bottom: 0; right: 3px; width: 1px;
|
||||
background: transparent; transition: background .12s ease;
|
||||
}
|
||||
.ftable-editor:hover .ftable-resize::after { background: var(--border); }
|
||||
.ftable-edit .ftable-resize:hover::after { background: var(--accent); }
|
||||
.ftable-editor .ftable-flex { display: flex; align-items: stretch; gap: 4px; }
|
||||
.ftable-editor .ftable-flex-main { flex: 1 1 auto; min-width: 0; }
|
||||
.ftable-editor .ftable-addcolwrap { flex: 0 0 auto; display: flex; align-items: center; }
|
||||
.ftable-editor .ftable-addcol {
|
||||
width: 26px; min-height: 64px; border: none; background: transparent;
|
||||
color: var(--text-dim); font-size: 18px; cursor: pointer; border-radius: 6px;
|
||||
opacity: 0; transition: opacity .12s ease;
|
||||
}
|
||||
.ftable-editor:hover .ftable-addcol { opacity: 1; }
|
||||
.ftable-editor .ftable-addcol:hover { background: var(--bg-hover); color: var(--accent); }
|
||||
.ftable-editor .ftable-colbar { display: flex; margin: 0 0 3px; }
|
||||
.ftable-editor .ftable-colcell { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; }
|
||||
.ftable-editor .ftable-colgrip {
|
||||
@@ -4485,4 +4505,5 @@ button.breadcrumb-current { max-width: 260px; }
|
||||
@media (max-width: 768px) {
|
||||
.ftable-editor .ftable-colgrip { opacity: 1; }
|
||||
.ftable-editor .ftable-rowbar { opacity: 1; }
|
||||
.ftable-editor .ftable-addcol { opacity: 1; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user