diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-29 20:16:28 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-29 20:16:28 +0100 |
commit | c70db581bfbe241f6d1354a73b671e7453cf19e6 (patch) | |
tree | 8d23d65726e5e7cfbe6886f9fe453ac4581b3a04 /app/assets | |
parent | 0d1fa878a90026a1724025c97a9484d96f903840 (diff) | |
download | gitlab-ce-c70db581bfbe241f6d1354a73b671e7453cf19e6.tar.gz |
Added temporary responsive design22221-tags-are-not-available-from-repository-compare-view
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/pages/projects.scss | 59 |
1 files changed, 51 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index 7c8ab7cb2a2..78bc4b79e86 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -744,18 +744,61 @@ pre.light-well { width: 300px; } - > .input-group > .compare-dropdown-toggle { - width: 200px; + &.from .compare-dropdown-toggle { + width: 237px; + } - .dropdown-toggle-text { - display: block; - height: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + &.to .compare-dropdown-toggle { + width: 254px; + } + + .dropdown-toggle-text { + display: block; + height: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 100%; + } +} + +.compare-ellipsis { + display: inline; +} + +@media (max-width: $screen-xs-max) { + .compare-form-group { + .input-group { + width: 100%; + + & > .compare-dropdown-toggle { + width: 100%; + } + } + + .dropdown-menu { width: 100%; } } + + .compare-switch-container { + text-align: center; + padding: 0 0 $gl-padding; + + .commits-compare-switch { + float: none; + } + } + + .compare-ellipsis { + display: block; + text-align: center; + padding: 0 0 $gl-padding; + } + + .commits-compare-btn { + width: 100%; + } } .clearable-input { |