瀏覽代碼

Remove duplicate border radius of avatars

Benjamin Thurm 6 年之前
父節點
當前提交
4a7e455004
共有 4 個文件被更改,包括 3 次插入5 次删除
  1. 1 0
      CHANGELOG.txt
  2. 1 0
      CONTRIBUTORS.rst
  3. 1 0
      docs/releases/2.2.rst
  4. 0 5
      wagtail/admin/static_src/wagtailadmin/scss/components/_formatters.scss

+ 1 - 0
CHANGELOG.txt

@@ -17,6 +17,7 @@ Changelog
  * Increased max length of redirect URL field to 255 (Michael Harrison)
  * Fix: Handle all exceptions from `Image.get_file_size` (Andrew Plummer)
  * Fix: Fix display of breadcrumbs in ModelAdmin (LB (Ben Johnston))
+ * Fix: Remove duplicate border radius of avatars (Benjamin Thurm)
 
 
 2.1 (22.05.2018)

+ 1 - 0
CONTRIBUTORS.rst

@@ -302,6 +302,7 @@ Contributors
 * Victor Miti
 * Andrew Plummer
 * Dmitry Vasilev
+* Benjamin Thurm
 
 Translators
 ===========

+ 1 - 0
docs/releases/2.2.rst

@@ -30,6 +30,7 @@ Bug fixes
 
  * Handle all exceptions from ``Image.get_file_size`` (Andrew Plummer)
  * Fix display of breadcrumbs in ModelAdmin (LB (Ben Johnston))
+ * Remove duplicate border radius of avatars (Benjamin Thurm)
 
 Upgrade considerations
 ======================

+ 0 - 5
wagtail/admin/static_src/wagtailadmin/scss/components/_formatters.scss

@@ -10,7 +10,6 @@
     height: 50px;
 
     img {
-        border-radius: 100%;
         position: absolute;
         z-index: 2;
         top: 0;
@@ -29,10 +28,6 @@
     &.square {
         border-radius: 0;
 
-        img {
-            border-radius: 0;
-        }
-
         &:before {
             border-radius: 0;
         }