瀏覽代碼

Remove box-shadow from avatar styles for a cleaner appearance (#2137)

* Remove box-shadow from avatar styles for a cleaner appearance

* Create ten-houses-punch.md
Paweł Kuna 7 月之前
父節點
當前提交
24b944cbdc
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 5 0
      .changeset/ten-houses-punch.md
  2. 1 0
      core/scss/ui/_avatars.scss

+ 5 - 0
.changeset/ten-houses-punch.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Fix `.avatar-upload` double borders 

+ 1 - 0
core/scss/ui/_avatars.scss

@@ -90,6 +90,7 @@
   height: 4rem;
   height: 4rem;
   border: var(--#{$prefix}border-width) dashed var(--#{$prefix}border-color);
   border: var(--#{$prefix}border-width) dashed var(--#{$prefix}border-color);
   background: $form-check-input-bg;
   background: $form-check-input-bg;
+  box-shadow: none;
   flex-direction: column;
   flex-direction: column;
   @include transition(color $transition-time, background-color $transition-time);
   @include transition(color $transition-time, background-color $transition-time);