From 947ab6e04d374ad45b95904e2bf9983f83f764f4 Mon Sep 17 00:00:00 2001 From: Rajendra Kumar Bhochalya Date: Mon, 15 Apr 2019 13:31:07 +0530 Subject: [PATCH] Hide alt text when committer's avatar fails to load This leaves an empty space instead of showing committer's email address when Atom is started with no internet connection. Closes atom/github#1528 --- styles/recent-commits.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/recent-commits.less b/styles/recent-commits.less index 52d071153f..628357e673 100644 --- a/styles/recent-commits.less +++ b/styles/recent-commits.less @@ -44,8 +44,10 @@ width: @size; height: @size; border-radius: @component-border-radius; + color: transparent; background-color: mix(@text-color, @base-background-color, 15%); box-shadow: 1px 0 @base-background-color; + overflow: hidden; transition: margin .12s cubic-bezier(.5,.1,0,1); &:nth-child(1) { z-index: 3; }