Skip to content

Commit

Permalink
Merge pull request sheadawson#39 from SilbinaryWolf/fix-jankystyling
Browse files Browse the repository at this point in the history
fix(quickaddnew.css): Fix CSS so that the addnew button appears beside the chosen field in a way that works responsively.
  • Loading branch information
sheadawson authored Oct 14, 2016
2 parents ab8e2b4 + 96ac839 commit b7fc247
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions css/quickaddnew.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
.cms .quickaddnew-field{
position: relative;
.cms .quickaddnew-field > .middleColumn {
/* stop gaps between inline blocks */
font-size: 0;
}
.cms .quickaddnew-field .chzn-container {
max-width: 437px; /* 512px - 75px */
}
.cms .quickaddnew-button{
position: absolute;
top: 5px;
position: relative;
top: 4px;
z-index: 0;
display: inline-block;
margin-left: 5px;
vertical-align: top;
}

.quickaddnew-dialog{
Expand Down

0 comments on commit b7fc247

Please sign in to comment.