Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed scroll bar issue in channel list #1440

Merged
merged 1 commit into from
Apr 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
border-radius: 20px;
border: 3px solid $card-background;
}
}