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
e9707880
Commit
e9707880
authored
Apr 09, 2019
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create svg-w-100 utility class for svg containers
The class makes a svg tag 100% width
parent
6a2e10e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+6
-0
app/assets/stylesheets/pages/stat_graph.scss
app/assets/stylesheets/pages/stat_graph.scss
+0
-8
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/common.scss
View file @
e9707880
...
@@ -436,6 +436,12 @@ img.emoji {
...
@@ -436,6 +436,12 @@ img.emoji {
.h-3
{
width
:
#{
3
*
$grid-size
}
;
}
.h-3
{
width
:
#{
3
*
$grid-size
}
;
}
.svg-w-100
{
svg
{
width
:
100%
;
}
}
/** COMMON SPACING CLASSES **/
/** COMMON SPACING CLASSES **/
.gl-pl-0
{
padding-left
:
0
;
}
.gl-pl-0
{
padding-left
:
0
;
}
.gl-pl-1
{
padding-left
:
#{
0
.5
*
$grid-size
}
;
}
.gl-pl-1
{
padding-left
:
#{
0
.5
*
$grid-size
}
;
}
...
...
app/assets/stylesheets/pages/stat_graph.scss
View file @
e9707880
...
@@ -18,10 +18,6 @@
...
@@ -18,10 +18,6 @@
@include
make-col-ready
();
@include
make-col-ready
();
@include
make-col
(
12
);
@include
make-col
(
12
);
}
}
svg
{
width
:
100%
;
}
}
}
#contributors
{
#contributors
{
...
@@ -31,10 +27,6 @@
...
@@ -31,10 +27,6 @@
margin
:
0
0
10px
;
margin
:
0
0
10px
;
list-style
:
none
;
list-style
:
none
;
padding
:
0
;
padding
:
0
;
svg
{
width
:
100%
;
}
}
}
.person
{
.person
{
...
...
app/views/projects/graphs/show.html.haml
View file @
e9707880
...
@@ -22,6 +22,6 @@
...
@@ -22,6 +22,6 @@
=
s_
(
'ContributorsPage|Commits to %{branch_name}, excluding merge commits. Limited to 6,000 commits.'
)
%
{
branch_name:
@ref
}
=
s_
(
'ContributorsPage|Commits to %{branch_name}, excluding merge commits. Limited to 6,000 commits.'
)
%
{
branch_name:
@ref
}
%input
#brush_change
{
:type
=>
"hidden"
}
%input
#brush_change
{
:type
=>
"hidden"
}
.graphs.row
.graphs.row
#contributors-master
#contributors-master
.svg-w-100
#contributors
.clearfix
#contributors
.clearfix
%ol
.contributors-list.row
%ol
.contributors-list.
svg-w-100.
row
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