mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-28 19:26:09 +01:00
🎨 Use HTML attributes data-wrap to set the cell wrapping style (#9814)
This commit is contained in:
parent
7c69313a23
commit
1b89dc0ee2
3 changed files with 18 additions and 8 deletions
|
|
@ -95,6 +95,10 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
&__body {
|
||||
float: left;
|
||||
}
|
||||
|
||||
&__row {
|
||||
display: flex;
|
||||
border-bottom: 1px solid var(--b3-theme-surface-lighter);
|
||||
|
|
@ -244,6 +248,14 @@
|
|||
top: 5.5px;
|
||||
}
|
||||
|
||||
&[data-wrap="true"] {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
&[data-wrap="false"] {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&.dragover__right {
|
||||
border-right-color: var(--b3-theme-primary-lighter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue