public/css: fix file view responsiveness (#5169)

pull/5209/head
Florian Wiech 2018-04-26 23:00:55 +02:00 committed by 无闻
parent 15f9a83618
commit 8df59c01d5
1 changed files with 8 additions and 2 deletions

View File

@ -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 {