Skip to content

Commit 98f6419

Browse files
elminsonrap2hpoutre
authored andcommitted
Add scrolling to list of log files on left hand side #143 (#168)
1 parent 201db49 commit 98f6419

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/views/log.blade.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@
5757
.folder {
5858
padding-top: 15px;
5959
}
60+
61+
.div-scroll{
62+
background-color: #F5F5F5;
63+
border: 1px solid #DDDDDD;
64+
border-radius: 4px 0 4px 0;
65+
color: #3B3C3E;
66+
left: -1px;
67+
padding: 10px 7px 5px;
68+
}
69+
70+
.div-with-scroll{
71+
height: 100vh;
72+
overflow:scroll;
73+
overflow-x:hidden;
74+
}
75+
6076
</style>
6177
</head>
6278
<body>
@@ -65,7 +81,7 @@
6581
<div class="col sidebar mb-3">
6682
<h1><i class="fa fa-calendar" aria-hidden="true"></i> Laravel Log Viewer</h1>
6783
<p class="text-muted"><i>by Rap2h</i></p>
68-
<div class="list-group">
84+
<div class="list-group div-scroll div-with-scroll">
6985
@foreach($folders as $folder)
7086
<div class="list-group-item">
7187
<a href="?f={{ \Illuminate\Support\Facades\Crypt::encrypt($folder) }}">

0 commit comments

Comments
 (0)