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
80bd5717
Commit
80bd5717
authored
Feb 03, 2017
by
Nur Rony
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes flickers in avatar mention dropdown
parent
fd46fb1c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
app/assets/stylesheets/framework/animations.scss
app/assets/stylesheets/framework/animations.scss
+21
-0
app/assets/stylesheets/framework/markdown_area.scss
app/assets/stylesheets/framework/markdown_area.scss
+1
-0
No files found.
app/assets/stylesheets/framework/animations.scss
View file @
80bd5717
...
...
@@ -71,6 +71,27 @@
transition
:
$unfoldedTransitions
;
}
@mixin
disableAllAnimation
{
/*CSS transitions*/
-o-transition-property
:
none
!
important
;
-moz-transition-property
:
none
!
important
;
-ms-transition-property
:
none
!
important
;
-webkit-transition-property
:
none
!
important
;
transition-property
:
none
!
important
;
/*CSS transforms*/
-o-transform
:
none
!
important
;
-moz-transform
:
none
!
important
;
-ms-transform
:
none
!
important
;
-webkit-transform
:
none
!
important
;
transform
:
none
!
important
;
/*CSS animations*/
-webkit-animation
:
none
!
important
;
-moz-animation
:
none
!
important
;
-o-animation
:
none
!
important
;
-ms-animation
:
none
!
important
;
animation
:
none
!
important
;
}
@function
unfoldTransition
(
$transition
)
{
// Default values
$property
:
all
;
...
...
app/assets/stylesheets/framework/markdown_area.scss
View file @
80bd5717
...
...
@@ -159,6 +159,7 @@
.cur
{
.avatar
{
border
:
1px
solid
$white-light
;
@include
disableAllAnimation
;
}
}
}
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