修改BUG:更新iconview样式

This commit is contained in:
Argo-MacBookPro 2018-08-03 21:47:32 +08:00
parent f50ba15111
commit cafa4076db
3 changed files with 4 additions and 7 deletions

View File

@ -155,7 +155,6 @@
text-overflow: ellipsis;
white-space: nowrap;
line-height: 32px;
padding-left: 10px;
display: block;
color: #222;
height: 32px;
@ -169,8 +168,6 @@
}
.fontawesome-icon-list .fa-hover a .fa {
width: 32px;
font-size: 14px;
display: inline-block;
text-align: right;
margin-right: 10px;

View File

@ -251,8 +251,8 @@
$pickIcon.attr('class', $(this).find('i, span:first').attr('class'));
return false;
});
$iconList.find('ul li').addClass('col-md-3 col-sm-4 col-xs-6');
$iconList.find('div').addClass('col-xs-6');
$iconList.find('ul li').addClass('col-xl-2 col-md-3 col-sm-4 col-6');
$iconList.find('div').addClass('col-xl-2 col-6');
}
}
});

View File

@ -4,8 +4,8 @@
return false;
});
$iconList.find('ul li').addClass('col-md-3 col-sm-4 col-xs-6');
$iconList.find('div').addClass('col-xs-6');
$iconList.find('ul li').addClass('col-xl-2 col-md-3 col-sm-4 col-6');
$iconList.find('div').addClass('col-xl-2 col-6');
$('#main-content').scrollspy({ offset: 150, target: '.fa-nav' });
});