Add sticky scroll to side panel
This commit is contained in:
parent
663a36d39c
commit
32faa23d18
|
@ -285,7 +285,7 @@
|
|||
<hr>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-lg-7 border-left">
|
||||
<div class="col-md-6 col-lg-7 border-left sticky-scroll">
|
||||
<div class="padded-border">
|
||||
|
||||
<div class="panel">
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-webkit-transform: translateZ(0);
|
||||
|
||||
&:hover {
|
||||
color: darken($gray, 10%);
|
||||
|
|
|
@ -23,4 +23,5 @@
|
|||
|
||||
textarea.form-control {
|
||||
height: 130px;
|
||||
-webkit-transform: translateZ(0);
|
||||
}
|
||||
|
|
|
@ -71,6 +71,13 @@ a {
|
|||
margin-top: 200px;
|
||||
}
|
||||
|
||||
.sticky-scroll {
|
||||
top: 15px;
|
||||
position: sticky;
|
||||
position: -webkit-sticky;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.row {
|
||||
&.colored {
|
||||
background-color: $light-purple;
|
||||
|
|
Loading…
Reference in New Issue