diff options
author | Thomas ZILLIOX <thomas@zilliox.me> | 2013-08-11 22:59:16 +0400 |
---|---|---|
committer | Thomas ZILLIOX <thomas@zilliox.me> | 2013-08-11 22:59:16 +0400 |
commit | 11aa168fd4dd95a7b3fdda8abbcaeeb3662b7e5e (patch) | |
tree | 51cd248af45f1504d9d8d4cda96733c72c9d11ae /plugins/SegmentEditor | |
parent | 3a5c283d5713bb7eb9b8e639e39c65d0f9ba6822 (diff) |
Adapt the size of the segment selector on tiny screens
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r-- | plugins/SegmentEditor/stylesheets/segmentation.less | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/plugins/SegmentEditor/stylesheets/segmentation.less b/plugins/SegmentEditor/stylesheets/segmentation.less index dc7168d3d7..6a650d3127 100644 --- a/plugins/SegmentEditor/stylesheets/segmentation.less +++ b/plugins/SegmentEditor/stylesheets/segmentation.less @@ -537,9 +537,9 @@ div.scrollable { span.segmentationTitle { background: url(plugins/Zeitgeist/images/sort_subtable_desc.png) no-repeat right 0; - padding-right: 20px !important; - width: 160px !important; - display: block !important; + padding-right: 20px; + width: 160px; + display: block; cursor: pointer; } @@ -666,3 +666,13 @@ a.metric_category { cursor: default; z-index: 1000 !important; } + +@media all and (max-width: 749px) { + span.segmentationTitle, + .segmentationContainer.visible { + width: auto; + } + .segmentationContainer.visible .add_new_segment { + float: left; + } +} |