BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c8d66594
Commit
c8d66594
authored
Jun 27, 2016
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align flash messages with left side of page content (!4959)
parent
bef4294c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
CHANGELOG
CHANGELOG
+1
-0
flash.js.coffee
app/assets/javascripts/flash.js.coffee
+10
-2
flash.scss
app/assets/stylesheets/framework/flash.scss
+7
-0
No files found.
CHANGELOG
View file @
c8d66594
...
...
@@ -4,6 +4,7 @@ v 8.10.0 (unreleased)
- Fix commit builds API, return all builds for all pipelines for given commit. !4849
- Replace Haml with Hamlit to make view rendering faster. !3666
- Wrap code blocks on Activies and Todos page. !4783 (winniehell)
- Align flash messages with left side of page content !4959 (winniehell)
- Display last commit of deleted branch in push events !4699 (winniehell)
- Add Sidekiq queue duration to transaction metrics.
- Let Workhorse serve format-patch diffs
...
...
app/assets/javascripts/flash.js.coffee
View file @
c8d66594
...
...
@@ -4,11 +4,19 @@ class @Flash
@
flash
.
html
(
""
)
innerDiv
=
$
(
'<div/>'
,
class
:
"flash-
#{
type
}
"
,
text
:
message
class
:
"flash-
#{
type
}
"
)
innerDiv
.
appendTo
(
".flash-container"
)
textDiv
=
$
(
"<div/>"
,
class
:
"flash-text"
,
text
:
message
)
textDiv
.
appendTo
(
innerDiv
)
if
@
flash
.
parent
().
hasClass
(
'content-wrapper'
)
textDiv
.
addClass
(
'container-fluid container-limited'
)
@
flash
.
click
->
$
(
@
).
fadeOut
()
@
flash
.
show
()
...
...
app/assets/stylesheets/framework/flash.scss
View file @
c8d66594
...
...
@@ -16,4 +16,11 @@
@extend
.alert-danger
;
margin
:
0
;
}
.flash-notice
,
.flash-alert
{
.container-fluid.flash-text
{
background
:
transparent
;
}
}
}
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