Commit 78f779b9 authored by Takuya Noguchi's avatar Takuya Noguchi Committed by Jose Ivan Vargas

Mobile-friendly table on Admin Runners

parent 0b8b631a
...@@ -50,3 +50,10 @@ ...@@ -50,3 +50,10 @@
font-size: 11px; font-size: 11px;
} }
} }
@media (max-width: $screen-md-max) {
.runners-content {
width: 100%;
overflow: auto;
}
}
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
%br %br
- if @runners.any? - if @runners.any?
.runners-content
.table-holder .table-holder
%table.table %table.table
%thead %thead
...@@ -63,7 +64,7 @@ ...@@ -63,7 +64,7 @@
%th Projects %th Projects
%th Jobs %th Jobs
%th Tags %th Tags
%th= link_to 'Last contact', admin_runners_path(params.slice(:search).merge(sort: 'contacted_asc')) %th Last contact
%th %th
- @runners.each do |runner| - @runners.each do |runner|
......
---
title: Mobile-friendly table on Admin Runners
merge_request:
author: Takuya Noguchi
type: fixed
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