1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

draggable tables

This commit is contained in:
Laura
2025-09-04 17:15:09 +02:00
parent a819ec7b38
commit aeed519df0
2 changed files with 106 additions and 9 deletions

View File

@@ -91,10 +91,26 @@
border-radius: 4px;
}
.markdown .table-wrapper {
width: 100%;
overflow-x: auto;
margin: 16px 0;
cursor: grab;
touch-action: pan-y;
}
.markdown .table-wrapper:not(.overflowing) {
cursor: default;
overflow-x: hidden;
}
.markdown .table-wrapper.dragging {
cursor: grabbing;
}
.markdown table {
width: 100%;
border-collapse: collapse;
margin: 16px 0;
font-size: 14px;
}