diff --git a/webapp/assets/styles/imports/_tooltip.scss b/webapp/assets/styles/imports/_tooltip.scss index e3032cb56..f3f51f576 100644 --- a/webapp/assets/styles/imports/_tooltip.scss +++ b/webapp/assets/styles/imports/_tooltip.scss @@ -83,6 +83,8 @@ border-radius: $border-radius-base; padding: $space-x-small $space-small; box-shadow: $box-shadow-large; + overflow: auto; + max-height: 73.5vh; // magic! fully visible on mobile, no scrolling on wide screen } @include arrow(5px, "tooltip", $background-color-inverse-soft); diff --git a/webapp/assets/styles/main.scss b/webapp/assets/styles/main.scss index 11652fad0..5c4964688 100644 --- a/webapp/assets/styles/main.scss +++ b/webapp/assets/styles/main.scss @@ -50,6 +50,11 @@ $easeOut: cubic-bezier(0.19, 1, 0.22, 1); background: #fff; } +body.dropdown-open { + height: 100vh; + overflow: hidden; +} + blockquote { display: block; padding: 15px 20px 15px 45px; @@ -164,3 +169,9 @@ hr { .v-popover.open .trigger a { color: $text-color-link-active; } + +.hyphenate-text { + hyphens: auto; + overflow-wrap: break-word; + word-wrap: break-word; +} diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index 7c79fe9eb..97541b1cd 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -20,12 +20,12 @@ - {{ post.title }} + {{ post.title }} -
+