diff --git a/app/assets/javascripts/post_tooltips.js.erb b/app/assets/javascripts/post_tooltips.js.erb index f95620147..b6e9e9bb1 100644 --- a/app/assets/javascripts/post_tooltips.js.erb +++ b/app/assets/javascripts/post_tooltips.js.erb @@ -28,7 +28,7 @@ Danbooru.PostTooltip.QTIP_OPTIONS = { }, show: { solo: true, - delay: 300, + delay: 450, effect: false, ready: true, event: "mouseenter", diff --git a/app/assets/stylesheets/specific/post_tooltips.scss b/app/assets/stylesheets/specific/post_tooltips.scss index 5d6794220..66af16b5b 100644 --- a/app/assets/stylesheets/specific/post_tooltips.scss +++ b/app/assets/stylesheets/specific/post_tooltips.scss @@ -1,10 +1,21 @@ +$tooltip-width: 965px; +$tooltip-height: 160px; + .post-tooltip { - max-width: 660px; + max-width: $tooltip-width; + box-sizing: border-box; + line-height: 16px; + border-color: #767676; box-shadow: 1px 1px 2px #666; .qtip-content { padding: 4px 6px; + + .post-tooltip-body { + max-height: $tooltip-height; + overflow-y: auto; + } } &.post-tooltip-loading { diff --git a/app/views/posts/show.html+tooltip.erb b/app/views/posts/show.html+tooltip.erb index 3239cae0d..a1c634047 100644 --- a/app/views/posts/show.html+tooltip.erb +++ b/app/views/posts/show.html+tooltip.erb @@ -1,6 +1,8 @@ -<%= @post.presenter.split_inline_tag_list_html(self) %> +