Browse Source

fix(ui): toolbar broken of pdf viewer when narrow container

charlie 3 years ago
parent
commit
2bc96772c5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/frontend/extensions/pdf/pdf.css

+ 3 - 0
src/main/frontend/extensions/pdf/pdf.css

@@ -55,6 +55,7 @@ input::-webkit-inner-spin-button {
           color: var(--ls-icon-color);
           background-color: transparent;
           transition: none;
+          word-break: normal;
 
           &.is-active {
             opacity: 1;
@@ -69,6 +70,8 @@ input::-webkit-inner-spin-button {
       }
 
       .pager {
+        white-space: nowrap;
+
         > .nu {
           padding-right: 4px;