Browse Source

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

pull/5209/head
Florian Wiech 7 years ago committed by 无闻
parent
commit
8df59c01d5
  1. 10
      public/less/_repository.less

10
public/less/_repository.less

@ -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…
Cancel
Save