Skip to content

Commit

Permalink
Improve paste selection
Browse files Browse the repository at this point in the history
Avoid additional erroneous newlines being present when copying the paste
content either via mouse selection or Ctrl+a.

No newlines are copied by chromium, firefox still inserts a prefix
newline.

Fixes: #72
  • Loading branch information
cgzones committed Nov 15, 2024
1 parent 9d7df4f commit 2939eee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/themes/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ header {
justify-content: flex-end;
align-items: center;
padding: 0 1em 0 1em;
user-select: none;
}

main {
flex-grow: 1;
padding: 1em 2em 1em 2em;
user-select: none;
}

#nav-title {
Expand Down Expand Up @@ -234,6 +236,7 @@ td.line-number {
white-space: pre;
margin-top: 0px;
margin-bottom: 0px;
user-select: text;
}

.center {
Expand Down

0 comments on commit 2939eee

Please sign in to comment.