Commit 81316b37 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

responsive chosen selects. Hide milestone dropdown for sm displays


Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a36c57953cdc
......@@ -59,10 +59,10 @@
select {
&.chosen {
min-width: 200px;
min-width: 100px;
}
&.chosen-sm {
min-width: 100px;
}
}
......@@ -63,6 +63,32 @@
}
&.chosen-sm {
min-width: 100px;
}
}
@media (min-width: $screen-sm-min) {
select {
&.chosen {
min-width: 150px;
}
}
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) {
select {
&.chosen {
min-width: 170px;
}
}
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: $screen-lg-min) {
select {
&.chosen {
min-width: 200px;
}
}
}
......@@ -120,11 +120,6 @@
}
}
.edit-issue.inline-update select {
width: 100%;
max-width: 200px;
}
.issue-show-labels .label {
padding: 6px 10px;
}
......
= form_for [@project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f|
.pull-right
Created by #{link_to_member(@project, issue.author)}&nbsp;
- if issue.assignee
\ and currently assigned to
......@@ -12,7 +11,7 @@
= link_to_member(@project, @issue.assignee)
.pull-right
.pull-right.hidden-sm
- if issue.milestone
- milestone = issue.milestone
%cite.cgray Attached to milestone
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment