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
dc702c17
Commit
dc702c17
authored
Jan 17, 2017
by
Ryan Harris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added class to .row-content-block to allow custom flexbox styling
parent
029460e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/stylesheets/framework/blocks.scss
app/assets/stylesheets/framework/blocks.scss
+5
-6
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/blocks.scss
View file @
dc702c17
...
...
@@ -22,9 +22,6 @@
}
.row-content-block
{
display
:
-
webkit-box
;
display
:
-
ms-flexbox
;
display
:
flex
;
margin-top
:
0
;
margin-bottom
:
-
$gl-padding
;
background-color
:
$gray-light
;
...
...
@@ -86,13 +83,10 @@
.block-controls
{
display
:
-
webkit-box
;
display
:
-
ms-flexbox
;
display
:
flex
;
-webkit-box-pack
:
end
;
-ms-flex-pack
:
end
;
justify-content
:
flex-end
;
-webkit-box-flex
:
1
;
-ms-flex
:
1
;
flex
:
1
;
.control
{
...
...
@@ -293,3 +287,8 @@
}
}
}
.flex-container-block
{
display
:
-
webkit-box
;
display
:
flex
;
}
app/views/projects/commits/show.html.haml
View file @
dc702c17
...
...
@@ -9,7 +9,7 @@
=
render
"head"
%div
{
class:
container_class
}
.row-content-block.second-block.content-component-block
.row-content-block.second-block.content-component-block
.flex-container-block
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'commits'
...
...
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