mirror of https://github.com/gogs/gogs.git
public/css: fix file view responsiveness (#5169)
parent
15f9a83618
commit
8df59c01d5
|
@ -422,13 +422,18 @@
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
tbody {
|
||||||
|
tr {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.lines-num {
|
.lines-num {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: #999;
|
color: #999;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
width: 1%;
|
width: 42px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
@ -439,7 +444,8 @@
|
||||||
}
|
}
|
||||||
.lines-num,
|
.lines-num,
|
||||||
.lines-code {
|
.lines-code {
|
||||||
padding: 0;
|
display: table-cell !important;
|
||||||
|
padding: 0 !important;
|
||||||
pre,
|
pre,
|
||||||
ol,
|
ol,
|
||||||
.hljs {
|
.hljs {
|
||||||
|
|
Loading…
Reference in New Issue