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
Kazuhiko Shiozaki
gitlab-ce
Commits
d98dc531
Commit
d98dc531
authored
Mar 04, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct media queries for small devices and tablets.
parent
614cd8d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
app/assets/stylesheets/framework/issue_box.scss
app/assets/stylesheets/framework/issue_box.scss
+7
-4
app/assets/stylesheets/framework/sidebar.scss
app/assets/stylesheets/framework/sidebar.scss
+4
-3
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/issue_box.scss
View file @
d98dc531
...
...
@@ -5,14 +5,17 @@
*/
.status-box
{
@media
(
max-width
:
$screen-sm-max
)
{
padding
:
5px
11px
;
margin-top
:
4px
;
}
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
padding
:
5px
11px
;
margin-top
:
4px
;
/* Small devices (tablets, 768px and up) */
@media
(
min-width
:
$screen-sm-min
)
{
padding
:
0
$gl-btn-padding
;
margin-top
:
5px
;
}
@include
border-radius
(
3px
);
display
:
block
;
float
:
left
;
...
...
app/assets/stylesheets/framework/sidebar.scss
View file @
d98dc531
...
...
@@ -27,9 +27,10 @@
}
&
.right-sidebar-expanded
{
@media
(
max-width
:
$screen-sm-max
)
{
padding-right
:
0
;
}
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
padding-right
:
0
;
/* Small devices (tablets, 768px and up) */
@media
(
min-width
:
$screen-sm-min
)
{
padding-right
:
$gutter_width
;
}
...
...
app/views/projects/issues/show.html.haml
View file @
d98dc531
...
...
@@ -11,12 +11,12 @@
%span
.hidden-xs
Closed
%span
.hidden-sm.hidden-md.hidden-lg
=
icon
(
'check'
)
=
icon
(
'check'
)
.status-box
{
class:
"status-box-open #{issue_button_visibility(@issue, true)}"
}
%span
.hidden-xs
Open
%span
.hidden-sm.hidden-md.hidden-lg
=
icon
(
'circle-o'
)
=
icon
(
'circle-o'
)
%a
.btn.btn-default.pull-right.hidden-sm.hidden-md.hidden-lg.gutter-toggle
{
href:
"#"
}
=
icon
(
'angle-double-left'
)
...
...
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