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
1
Merge Requests
1
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
nexedi
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
Show 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 {
.h-3
{
width
:
#{
3
*
$grid-size
}
;
}
.svg-w-100
{
svg
{
width
:
100%
;
}
}
/** COMMON SPACING CLASSES **/
.gl-pl-0
{
padding-left
:
0
;
}
.gl-pl-1
{
padding-left
:
#{
0
.5
*
$grid-size
}
;
}
...
...
app/assets/stylesheets/pages/stat_graph.scss
View file @
e9707880
...
...
@@ -18,10 +18,6 @@
@include
make-col-ready
();
@include
make-col
(
12
);
}
svg
{
width
:
100%
;
}
}
#contributors
{
...
...
@@ -31,10 +27,6 @@
margin
:
0
0
10px
;
list-style
:
none
;
padding
:
0
;
svg
{
width
:
100%
;
}
}
.person
{
...
...
app/views/projects/graphs/show.html.haml
View file @
e9707880
...
...
@@ -22,6 +22,6 @@
=
s_
(
'ContributorsPage|Commits to %{branch_name}, excluding merge commits. Limited to 6,000 commits.'
)
%
{
branch_name:
@ref
}
%input
#brush_change
{
:type
=>
"hidden"
}
.graphs.row
#contributors-master
#contributors-master
.svg-w-100
#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