瀏覽代碼

fix: spoiler summary overflows it's parent (#2502)

Иван 3 年之前
父節點
當前提交
14cb17c227
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      client/themes/default/scss/app.scss

+ 2 - 3
client/themes/default/scss/app.scss

@@ -804,10 +804,9 @@
       border-radius: 7px;
       background-color: mc('grey', '50');
       cursor: pointer;
-      height: 40px;
-      display: flex;
+      display: list-item;
       align-items: center;
-      padding: 0 1rem;
+      padding: 0.4rem 1rem;
       transition: background-color .4s ease;
 
       &:focus {