Skip to content

Commit

Permalink
Tweak to limit flickering when Chosen replaces the SELECT fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisferrand committed Feb 24, 2015
1 parent 0450d86 commit 5cc95ad
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ hr {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#board-selector,
.chosen-select {
min-height: 27px; /* Reserve some space to avoid re-layout due to chosen */
}
/* links */
a {
color: #3366CC;
Expand Down Expand Up @@ -735,6 +740,10 @@ nav .active a {
font-size: 0.95em;
}

#more-filters {
display: none; /* Hide this filter initially, to avoid re-layout */
}

/* public board */
.public-board {
margin-top: 5px;
Expand Down
5 changes: 5 additions & 0 deletions assets/css/src/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ hr {
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#board-selector,
.chosen-select {
min-height: 27px; /* Reserve some space to avoid re-layout due to chosen */
}
4 changes: 4 additions & 0 deletions assets/css/src/board.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
font-size: 0.95em;
}

#more-filters {
display: none; /* Hide this filter initially, to avoid re-layout */
}

/* public board */
.public-board {
margin-top: 5px;
Expand Down

0 comments on commit 5cc95ad

Please sign in to comment.