Skip to content

Commit

Permalink
Post valentines update fixes
Browse files Browse the repository at this point in the history
- Revert link padding/nsfw underline offset.
    Will take another look at it together with issue #60
- Fix word-breaking on chat-input.
- Fix emote offset on emote combos with :love modifier.
- Prevent :love modifier blinking under stress on Firefox.
  • Loading branch information
JoannesJ committed Feb 14, 2019
1 parent 5bf341a commit ebb4f52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
19 changes: 10 additions & 9 deletions assets/chat/css/generify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,13 @@

@at-root {
@keyframes generify-love__heart--animation {
0%, 2% {
opacity: 0;
}
0% {
visibility: visible;
transform: scale(0);
bottom: -5px;
bottom: -30%;
}

50% {
Expand All @@ -163,7 +166,7 @@

100% {
transform: scale(0.6);
bottom: 20px;
bottom: 50%;
opacity: 0;
}
}
Expand All @@ -188,15 +191,12 @@
}

&::after {
/* right-outer heart */
/* right-inner heart */
@include heart;
right: -8px;
animation-delay: -($animation-duration - $animation-duration*0.50);
right: -2px;
}

& .chat-emote {
overflow: visible;

&::before {
/* left-inner heart */
@include heart;
Expand All @@ -205,9 +205,10 @@
}

&::after {
/* right-inner heart */
/* right-outer heart */
@include heart;
right: -3px;
right: -7px;
animation-delay: -($animation-duration - $animation-duration*0.50);
}
}

Expand Down
4 changes: 0 additions & 4 deletions assets/chat/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ label small {
* to the same size.
*/
width: 100%;
word-break: break-all;
box-sizing: border-box;
padding: 5px;
border: 1px solid #321a10;
Expand Down Expand Up @@ -312,9 +311,6 @@ label small {
border-style: solid;
border-color: transparent;
border-width: 1px 0 1px 0;

// padding to improve clickability
padding: 3px 0;
}
.externallink {
color: $color-link;
Expand Down

0 comments on commit ebb4f52

Please sign in to comment.