소스 검색

fix(page): title has height 0 when length of editing title is 0

situ2001 3 년 전
부모
커밋
0e4e02680e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/frontend/components/page.css

+ 4 - 0
src/main/frontend/components/page.css

@@ -293,6 +293,10 @@ a.page-title {
 .page-title-sizer-wrapper {
   @apply w-full;
 
+  :empty::before {
+    content: '\200b';
+  }
+
   > .title {
     @apply w-full pointer-events-none overflow-hidden overflow-ellipsis;
   }