diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-06-18 17:12:38 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-06-20 12:16:31 -0400 |
commit | 4b7343f7acc5fe183eeffae3015f1ec50cd9e049 (patch) | |
tree | 96ed5f3400d56fe61bc9d6e628b262e2146e0ec9 /app/assets | |
parent | 0d57e944779512941491e8c754f804e85ecd4178 (diff) | |
download | gitlab-ce-4b7343f7acc5fe183eeffae3015f1ec50cd9e049.tar.gz |
Merge branch 'star-fork-mobile' into 'master'
Display Star and Fork on mobile, fix #18537.
## What does this MR do?
Displays the Star and Fork buttons on mobile devices.
## Are there points in the code the reviewer needs to double check?
Nope.
## Why was this MR needed?
I wanted to star and/or fork projects while on my phone, I couldn't do that before.
## What are the relevant issue numbers?
#18537
## Screenshots (if relevant)
![Screen_Shot_2016-06-16_at_11.41.24_AM](/uploads/053ac0c1b39a7b1b30fffb0a8d43cffb/Screen_Shot_2016-06-16_at_11.41.24_AM.png)
cc: @jschatz1
See merge request !4714
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/mobile.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/mobile.scss b/app/assets/stylesheets/framework/mobile.scss index d4e5cc819a4..c74682dfef4 100644 --- a/app/assets/stylesheets/framework/mobile.scss +++ b/app/assets/stylesheets/framework/mobile.scss @@ -52,6 +52,19 @@ .git-clone-holder { display: none; } + + // Display Star and Fork buttons without counters on mobile. + .project-action-buttons { + display: block; + + .count-buttons .btn { + margin: 0 10px; + } + + .count-buttons .count-with-arrow { + display: none; + } + } } .project-stats { |