Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix ParityBar account selection overflows #4405

Merged
merged 1 commit into from
Feb 2, 2017
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
8 changes: 7 additions & 1 deletion js/src/ui/SectionList/sectionList.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

.section {
margin-bottom: 1em;
overflow-x: hidden;
position: relative;

.overlay {
Expand All @@ -33,6 +33,7 @@
.row {
display: flex;
justify-content: center;
overflow-x: hidden;

/* TODO: As per JS comments, the flex-base could be adjusted in the future to allow for */
/* case where <> 3 columns are required should the need arrise from a UI pov. */
Expand All @@ -42,6 +43,7 @@
display: flex;
flex: 0 1 33.33%;
opacity: 0.75;
overflow-x: hidden;
padding: 0.25em;
transition: all 0.75s cubic-bezier(0.23, 1, 0.32, 1);

Expand Down Expand Up @@ -76,3 +78,7 @@
}
}
}

.section+.section {
margin-top: 1em;
}
3 changes: 2 additions & 1 deletion js/src/views/ParityBar/parityBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.account {
display: flex;
flex: 1;
overflow: hidden;
position: relative;

.accountOverlay {
Expand Down Expand Up @@ -109,14 +110,14 @@
display: flex;
flex-direction: column;
max-height: 50vh;
max-width: calc(100vw - 1em);

.content {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
display: flex;
background: rgba(0, 0, 0, 0.8);
min-height: 16em;
}
}

Expand Down