mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix code wrapping
This commit is contained in:
parent
084be18bb6
commit
774e273561
2 changed files with 7 additions and 6 deletions
|
@ -8,5 +8,5 @@ npx lint-staged --concurrent false
|
|||
gitleaks protect --verbose --redact --staged
|
||||
|
||||
# Checking dependencies' licenses
|
||||
#npx license-checker --production --json --out licenses.json
|
||||
#node check-licenses.js
|
||||
npx license-checker --production --json --out licenses.json
|
||||
node check-licenses.js
|
|
@ -89,8 +89,7 @@
|
|||
.block.blockText.isReadonly > .wrapContent > .selectable > .dropTarget .marker.check { cursor: default; }
|
||||
.block.blockText.isReadonly > .wrapContent > .selectable > .dropTarget #value { min-height: 1em; cursor: text !important; user-select: text !important; }
|
||||
.block.blockText.isReadonly > .wrapContent > .selectable > .dropTarget #placeholder { display: none; }
|
||||
.block.blockText.isReadonly.textCode > .wrapContent > .selectable > .dropTarget #value { padding: 16px; }
|
||||
.block.blockText.isReadonly.block.blockText.textDescription > .wrapContent > .selectable > .dropTarget #value { min-height: 26px; }
|
||||
.block.blockText.isReadonly.textDescription > .wrapContent > .selectable > .dropTarget #value { min-height: 26px; }
|
||||
|
||||
/* IsChecked */
|
||||
|
||||
|
@ -207,12 +206,11 @@
|
|||
> .selectable {
|
||||
> .dropTarget { padding: 24px 0px 0px 0px; }
|
||||
> .dropTarget {
|
||||
#value { padding: 16px; }
|
||||
.placeholder { display: none !important; }
|
||||
|
||||
> .flex { position: static; }
|
||||
> .flex {
|
||||
#value { font-family: 'Plex'; @include text-common; tab-size: 4; white-space: pre-wrap; }
|
||||
#value { font-family: 'Plex'; @include text-common; tab-size: 4; white-space: pre-wrap; padding: 16px; }
|
||||
#value * { background: none; }
|
||||
|
||||
.additional { position: absolute; top: 9px; left: 0px; z-index: 1; display: block; padding: 0px 16px; width: 100%; }
|
||||
|
@ -255,6 +253,9 @@
|
|||
.block.blockText.textCode.isReadonly > .wrapContent > .selectable > .dropTarget > .flex {
|
||||
.additional .buttons { display: none; }
|
||||
}
|
||||
.block.blockText.textCode.isUnwrapped > .wrapContent > .selectable > .dropTarget > .flex {
|
||||
#value { white-space: pre; overflow-x: scroll; }
|
||||
}
|
||||
|
||||
/* DropTarget */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue