Ver Fonte

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

situ2001 há 3 anos atrás
pai
commit
0e4e02680e
1 ficheiros alterados com 4 adições e 0 exclusões
  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;
   }