From 9fbbde9849cf378bd6eee65bea3d6291a2842f3d Mon Sep 17 00:00:00 2001 From: life Date: Wed, 24 Sep 2014 23:13:37 +0800 Subject: [PATCH] lea++ style fixed --- public/css/blog/p.css | 4 ++-- public/css/blog/p.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/blog/p.css b/public/css/blog/p.css index ae0e72c..67ef1cf 100644 --- a/public/css/blog/p.css +++ b/public/css/blog/p.css @@ -191,13 +191,13 @@ a:hover { right: 1px; width: 32px; height: 32px; + overflow: hidden; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; } .article .avatar img { - width: 100%; - height: 100%; + max-height: 32px; border: 2px solid white; -webkit-border-radius: 50%; -moz-border-radius: 50%; diff --git a/public/css/blog/p.less b/public/css/blog/p.less index 6c577e0..959023b 100644 --- a/public/css/blog/p.less +++ b/public/css/blog/p.less @@ -211,12 +211,12 @@ a:hover { right: 1px; width: 32px; height: 32px; + overflow: hidden; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; img { - width: 100%; - height: 100%; + max-height: 32px; border: 2px solid white; -webkit-border-radius: 50%; -moz-border-radius: 50%;