fix file view

This commit is contained in:
Iris Lightshard 2023-02-03 17:30:37 -07:00
parent 8eea0d5bbc
commit da18f9eb14
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -274,7 +274,8 @@ a:hover {
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
display: flex;
display: inline-block;
text-align: right;
float: left;
flex-direction: column;
margin-right: 1ch;
@ -284,23 +285,35 @@ a:hover {
background: var(--light-gray);
display: table;
padding: 0.5rem
width: 100%;
margin-top: 0.5rem;
}
tr {
display:flex;
flex-direction: row;
overflow-x: auto;
}
.file-content {
background: var(--light-gray);
overflow-y: hidden;
overflow-x: auto;
display: inline-block;
width: 100%;
}
@supports (display: flex) {
.file-wrapper {
width: 100%;
max-width: 750px;
}
.file-wrapper tr {
display:flex;
flex-direction: row;
width: 80vw;
max-width: 750px;
}
.line-numbers {
display: flex;
}
.file-content {
display: iniline-block;
width: 100%;
}
}
.diff-type {
color: var(--gray);
}