perf: optmize

This commit is contained in:
Spirit 2020-03-28 10:02:47 +08:00
parent 5c415480fa
commit df1c5bac14
2 changed files with 3 additions and 2 deletions

View File

@ -182,7 +182,7 @@ function optionsframework_options()
'name' => __('Favicon', 'sakura'), 'name' => __('Favicon', 'sakura'),
'desc' => __('It is the small logo on the browser tab, fill in the url', 'sakura'), /*就是浏览器标签栏上那个小 logo填写url*/ 'desc' => __('It is the small logo on the browser tab, fill in the url', 'sakura'), /*就是浏览器标签栏上那个小 logo填写url*/
'id' => 'favicon_link', 'id' => 'favicon_link',
'std' => '/wp-content/themes/Sakura/images/favicon.ico', 'std' => get_template_directory_uri().'/images/favicon.ico',
'type' => 'text'); 'type' => 'text');
$options[] = array( $options[] = array(

View File

@ -1325,7 +1325,8 @@ a:hover {
border-radius: 50%; border-radius: 50%;
padding: 2px; padding: 2px;
border: 1px solid #DADADA; border: 1px solid #DADADA;
position: relative position: relative;
object-fit: cover
} }
.feature :hover .overlay i { .feature :hover .overlay i {