Disable line-wrapping for text files

This commit is contained in:
Seednode 2023-09-12 19:55:54 -05:00
parent a7daf81754
commit 62a8bde8ea
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import (
)
const (
ReleaseVersion string = "0.73.0"
ReleaseVersion string = "0.73.1"
)
var (

View File

@ -19,7 +19,8 @@ func RegisterText() *Type {
css.WriteString(`html,body{margin:0;padding:0;height:100%;}`)
css.WriteString(`a{color:inherit;display:block;height:100%;width:100%;text-decoration:none;overflow:hidden;}`)
css.WriteString(`textarea{border:none;caret-color:transparent;outline:none;margin:0 .5rem 0 .5rem;height:100%;width:99%;overflow:auto;}`)
css.WriteString(`textarea{border:none;caret-color:transparent;outline:none;margin:.5rem;`)
css.WriteString(`height:99%;width:99%;white-space:pre;overflow:auto;}`)
return css.String()
},