fix file view
This commit is contained in:
parent
8eea0d5bbc
commit
da18f9eb14
1 changed files with 22 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue