summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/stat_graph.scss
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-06-20 09:21:14 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-06-20 09:21:14 -0600
commite50739f4c7bf823f2c1a4a65363ed987eff7d399 (patch)
tree868f25f1a8fae9a7a2f52ebd6a3510ee3baa0550 /app/assets/stylesheets/pages/stat_graph.scss
parent699badabc9670e836eafaf1c66248f49ea41a098 (diff)
downloadgitlab-ce-e50739f4c7bf823f2c1a4a65363ed987eff7d399.tar.gz
Apply responsive design for Contributors graphs.contributors-graph-mobile
Fixes #18845.
Diffstat (limited to 'app/assets/stylesheets/pages/stat_graph.scss')
-rw-r--r--app/assets/stylesheets/pages/stat_graph.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/stat_graph.scss b/app/assets/stylesheets/pages/stat_graph.scss
index 85a0304196c..8a1f2d098d6 100644
--- a/app/assets/stylesheets/pages/stat_graph.scss
+++ b/app/assets/stylesheets/pages/stat_graph.scss
@@ -25,13 +25,19 @@
&:nth-child(even) {
float: right;
}
+
float: left;
margin-top: 10px;
+
+ @media (max-width: $screen-sm-min) {
+ width: 100%;
+ }
}
.person .spark {
display: block;
background: #f3f3f3;
+ width: 100%;
}
.person .area-contributor {