mirror of https://github.com/status-im/consul.git
Merge pull request #2812 from naaaargle/master
UI Improvement: Add sticky scroll to side panel
This commit is contained in:
commit
9843c2e872
|
@ -289,7 +289,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%);
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
textarea.form-control {
|
||||
height: 130px;
|
||||
-webkit-transform: translateZ(0);
|
||||
}
|
||||
|
||||
.form-checkbox {
|
||||
|
|
|
@ -71,6 +71,13 @@ a {
|
|||
margin-top: 200px;
|
||||
}
|
||||
|
||||
.sticky-scroll {
|
||||
top: 15px;
|
||||
position: sticky;
|
||||
position: -webkit-sticky;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.row {
|
||||
&.colored {
|
||||
background-color: $light-pink;
|
||||
|
|
Loading…
Reference in New Issue