Skip to content

Commit

Permalink
improve responsiveness of context switcher, fixes #328
Browse files Browse the repository at this point in the history
  • Loading branch information
helrond committed Jul 16, 2019
1 parent 87f8452 commit 596d740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions aurora/bag_transfer/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,13 @@ div.dataTables_wrapper div.dataTables_filter input {
margin-top: 0;
}

#context-switcher {float: none;}

@media (min-width: 768px) {
.dl-horizontal dt {width:180px}
.dl-horizontal dd {margin-left: 200px;}
}

@media (min-width: 590px) {
#context-switcher {float: right;}
}
1 change: 0 additions & 1 deletion aurora/bag_transfer/templates/transfers/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

{% block h1_title %}
Dashboard: <span id="orgName"></span>
<div class="pull-right">
<select id="context-switcher" aria-label="Select organizational context">

{% for org in sorted_org_list %}
Expand Down

0 comments on commit 596d740

Please sign in to comment.