Commit ca81c1c0 authored by Nur Rony's avatar Nur Rony

replaces media query with flexbox

parent 4cde12df
...@@ -461,17 +461,19 @@ ...@@ -461,17 +461,19 @@
.issuable-list { .issuable-list {
li { li {
.issue-info-container {
display: inline-block;
width: 96.5%;
@media (max-width: $screen-md-max) { .issue-box {
width: 95%; display: -webkit-flex;
display: flex;
} }
.issue-info-container {
-webkit-flex: 1;
flex: 1;
padding-right: $gl-padding;
} }
.issue-check { .issue-check {
float: left;
padding-right: $gl-padding; padding-right: $gl-padding;
margin-bottom: 10px; margin-bottom: 10px;
min-width: 15px; min-width: 15px;
......
...@@ -268,11 +268,12 @@ ...@@ -268,11 +268,12 @@
.merge-request { .merge-request {
padding: 10px 0 10px 15px; padding: 10px 0 10px 15px;
position: relative; position: relative;
display: -webkit-flex;
display: flex;
.issue-info-container { .issue-info-container {
@media (max-width: $screen-xs-max) { -webkit-flex: 1;
width: 88%; flex: 1;
}
} }
.merge-request-title { .merge-request-title {
......
%li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } } %li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } }
.issue-box
- if @bulk_edit - if @bulk_edit
.issue-check .issue-check
= check_box_tag dom_id(issue, "selected"), nil, false, 'data-id' => issue.id, class: "selected_issue" = check_box_tag dom_id(issue, "selected"), nil, false, 'data-id' => issue.id, class: "selected_issue"
......
Markdown is supported
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