Skip to content

Commit

Permalink
fix: hide line authoring on small width window(#684)
Browse files Browse the repository at this point in the history
* hide git blame gutter not to superpose text for smaller screens

* refactor: use smaller width

---------

Co-authored-by: Vinzent <vinzent03@proton.me>
  • Loading branch information
cesarmontalverne and Vinzent03 committed Mar 14, 2024
1 parent 1b2cc30 commit 6a89424
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -549,3 +549,10 @@
padding: 0px 6px 0px 6px;
white-space: pre; /* Keep spaces and do not collapse them. */
}

@media(max-width:800px){
/* hide git blame gutter not to superpose text */
.cm-gutterElement.obs-git-blame-gutter {
display: none;
}
}

0 comments on commit 6a89424

Please sign in to comment.