Skip to content

Commit

Permalink
Fixed scroll bar issue in channel list
Browse files Browse the repository at this point in the history
  • Loading branch information
nephix committed Apr 29, 2020
1 parent 464b899 commit f7ccff0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 2 additions & 0 deletions raiden-dapp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
- [#1381] Summary screen display exact amounts on hover
- [#1300] General screen shows Raiden account balance when using subkey.
- [#1382] Better error handling when PFS can't find routes between nodes.
- [#1427] Scroll bar issue in Channel List view.

[#1395]: https://github.com/raiden-network/light-client/issues/1395
[#1381]: https://github.com/raiden-network/light-client/issues/1381
[#1300]: https://github.com/raiden-network/light-client/issues/1300
[#1382]: https://github.com/raiden-network/light-client/issues/1382
[#1365]: https://github.com/raiden-network/light-client/issues/1365
[#1427]: https://github.com/raiden-network/light-client/issues/1427

## [0.6.0] - 2020-04-21

Expand Down
6 changes: 3 additions & 3 deletions raiden-dapp/src/components/navigation/Channels.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ export default class Channels extends Mixins(NavigationMixin) {
.channels {
width: 100%;
height: 100%;
overflow: hidden;
overflow-y: scroll;
@extend .themed-scrollbar;
&:first-child {
padding-top: 50px;
Expand All @@ -185,8 +186,7 @@ export default class Channels extends Mixins(NavigationMixin) {
&__wrapper {
height: 100%;
width: 100%;
overflow-y: auto;
@extend .themed-scrollbar;
overflow-y: visible;
}
&__header {
Expand Down
13 changes: 13 additions & 0 deletions raiden-dapp/src/scss/scroll.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,17 @@
.themed-scrollbar {
scrollbar-color: $secondary-color $card-background;
scrollbar-width: thin;

&::-webkit-scrollbar {
width: 12px;
}

&::-webkit-scrollbar-track {
background: $card-background;
}
&::-webkit-scrollbar-thumb {
background-color: $secondary-color; /* color of the scroll thumb */
border-radius: 20px; /* roundness of the scroll thumb */
border: 3px solid $card-background; /* creates padding around scroll thumb */
}
}

0 comments on commit f7ccff0

Please sign in to comment.