Skip to content

Commit

Permalink
use flex centering to fix firebox positioning bug
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed Jan 3, 2018
1 parent 98a0ba5 commit 794040a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/components/Collection/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
& input {
background-color: #eff0f4;
border-radius: var(--borderRadius);
height: 36px; /* issue #907 */
font-size: 14px;
padding: 10px 6px 10px 32px;
width: 100%;
Expand All @@ -37,9 +36,13 @@

& .nc-icon {
position: absolute;
top: 0;
left: 6px;
z-index: 2;
top: 9px; /* issue #907 */
height: 100%;
display: flex;
align-items: center;
pointer-events: none;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/UI/Toggle/Toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@apply(--dropShadowDeep);
position: absolute;
left: 0;
top: 0; /* Fix 907 */
top: 0;
width: 20px;
height: 20px;
border-radius: 50%;
Expand Down

0 comments on commit 794040a

Please sign in to comment.