File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,10 @@ class UI {
116116
117117 var img = document . createElement ( 'img' ) ;
118118 img . classList . add ( 'favicon' ) ;
119- img . setAttribute ( 'height' , 15 ) ;
120- img . setAttribute ( 'src' , tab . favicon ) ;
119+ img . setAttribute ( 'height' , 17 ) ;
120+ if ( tab . favicon !== undefined || tab . favicon == null )
121+ img . setAttribute ( 'src' , tab . favicon ) ;
122+ else img . setAttribute ( 'src' , '/icons/empty.png' ) ;
121123
122124 var spanUrl = document . createElement ( 'span' ) ;
123125 spanUrl . classList . add ( 'span-url' ) ;
Original file line number Diff line number Diff line change 99
1010.inline-flex {
1111 display : inline-flex;
12- height : 23 px ;
12+ height : 27 px ;
1313}
1414
1515.inline-flex : hover {
@@ -46,14 +46,12 @@ body {
4646}
4747
4848.span-time {
49- margin-left : 10px ;
50- width : 100px ;
5149 font-weight : 500 ;
5250 text-align : right;
5351}
5452
5553.favicon {
56- margin-right : 5px ;
54+ margin : 2 px 7 px 5px 3 px ;
5755}
5856
5957hr {
You can’t perform that action at this time.
0 commit comments