mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-22 03:35:41 +02:00
sadly removing box shaodw because of perf on reflow / paint
This commit is contained in:
parent
076f8e3056
commit
7d88e5564c
2 changed files with 4 additions and 8 deletions
|
@ -267,7 +267,11 @@ p.commandLine span.prompt {
|
|||
#commandLineHistory {
|
||||
margin: 10px;
|
||||
border-radius: 5px;
|
||||
/*
|
||||
UGHHHh the box shadow looks SO much better, but causes an extra 12ms in the paint update
|
||||
when typing in the box. sadness. i will remove for perf, maybe add back in later.
|
||||
box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
|
||||
*/
|
||||
}
|
||||
|
||||
#prompt {
|
||||
|
@ -281,11 +285,6 @@ p.commandLine span.prompt {
|
|||
}
|
||||
|
||||
#prompt span.cursor {
|
||||
/*
|
||||
ARGHHHhh why does this cause reflows / scrolls!?!?!? wtf
|
||||
-webkit-animation-name: blink;
|
||||
-webkit-animation-duration: 1s;
|
||||
-webkit-animation-iteration-count: 99999; */
|
||||
background: #DDD;
|
||||
position: relative;
|
||||
opacity: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue