Skip to content

Commit 7a16715

Browse files
committed
un fixed sourcecode viwer on desktop broswer
1 parent 648b598 commit 7a16715

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20151224033157
2+
# Build: 20151224033550
33

44
CACHE:
55
resources/css/bootstrap.min.css

‎index.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@
206206
}
207207
.sourcecode-modal .modal-body{
208208
overflow: scroll;
209-
transform: translate3d(0,0,0);
210-
-webkit-transform: translate3d(0,0,0);
211209
-webkit-overflow-scrolling: touch;
212210
}
213211
@media (min-width: 62em) {
@@ -233,6 +231,21 @@
233231
width: 120px;
234232
height: 120px;
235233
}
234+
.sourcecode-modal{
235+
max-height: 98%;
236+
}
237+
.sourcecode-modal .modal-dialog,
238+
.sourcecode-modal .modal-content,
239+
.sourcecode-modal .modal-body{
240+
height: auto;
241+
overflow: auto;
242+
}
243+
.sourcecode-modal .modal-content{
244+
padding-bottom: auto;
245+
}
246+
.sourcecode-modal .modal-body{
247+
overflow: auto;
248+
}
236249
}
237250
</style>
238251
</head>

0 commit comments

Comments
 (0)