Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8c4deda0
Commit
8c4deda0
authored
Jul 15, 2016
by
yury-n
Committed by
Luke "Jared" Bennett
Nov 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace long var name with a comment, hide "Milestone" in "Reopen Milestone" on a small screen
parent
82189b4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/assets/stylesheets/pages/milestone.scss
app/assets/stylesheets/pages/milestone.scss
+5
-5
No files found.
app/assets/stylesheets/pages/milestone.scss
View file @
8c4deda0
...
...
@@ -57,14 +57,14 @@
color
:
$orange-light
;
}
$width_to_show_stats_and_buttons_on_one_line
:
$screen-xs-min
;
.milestone-stats-and-buttons
{
display
:
flex
;
justify-content
:
flex-start
;
// on small screens split into two line
flex-wrap
:
wrap
;
@media
(
min-width
:
$width_to_show_stats_and_buttons_on_one_line
)
{
@media
(
min-width
:
$screen-xs-min
)
{
// on bigger screens show on one line
justify-content
:
space-between
;
flex-wrap
:
nowrap
;
}
...
...
@@ -75,7 +75,7 @@
order
:
1
;
// buttons go on its own line below the header and need some margin
margin-top
:
10px
;
@media
(
min-width
:
$
width_to_show_stats_and_buttons_on_one_line
)
{
@media
(
min-width
:
$
screen-xs-min
)
{
// when displayed on one line stats go first, buttons second
order
:
2
;
margin-top
:
0
;
...
...
@@ -93,7 +93,7 @@
width
:
100%
;
padding
:
7px
0
;
flex-shrink
:
1
;
@media
(
min-width
:
$
width_to_show_stats_and_buttons_on_one_line
)
{
@media
(
min-width
:
$
screen-xs-min
)
{
// when displayed on one line stats go first, buttons second
order
:
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment