Skip to content

Commit

Permalink
Merge pull request #2812 from naaaargle/master
Browse files Browse the repository at this point in the history
UI Improvement: Add sticky scroll to side panel
  • Loading branch information
slackpad authored May 18, 2017
2 parents 6fcd379 + 6163eab commit 0a4face
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ <h4 class="breadcrumbs"><a href="" {{action 'linkToKey' grandParentKey }}>{{pare
<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">
Expand Down
1 change: 1 addition & 0 deletions styles/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-webkit-transform: translateZ(0);

&:hover {
color: darken($gray, 10%);
Expand Down
1 change: 1 addition & 0 deletions styles/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

textarea.form-control {
height: 130px;
-webkit-transform: translateZ(0);
}

.form-checkbox {
Expand Down
7 changes: 7 additions & 0 deletions styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0a4face

Please sign in to comment.