From ffd0d3384e22d1fcd30666b71a1bfc911c3d93fb Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 1 May 2018 14:00:16 +1000 Subject: [PATCH] Upgrade to Tippy.js v2, along with upgrading its dependency Popper.js --- lemonauth/templates/lemonauth/indie.html | 6 +++--- lemoncurry/static/lemoncurry/css/layout.styl | 4 ++++ lemoncurry/templates/lemoncurry/layout.html | 4 ++-- package.json | 2 +- yarn.lock | 14 +++++++------- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/lemonauth/templates/lemonauth/indie.html b/lemonauth/templates/lemonauth/indie.html index f59c82c..94a346b 100644 --- a/lemonauth/templates/lemonauth/indie.html +++ b/lemonauth/templates/lemonauth/indie.html @@ -14,11 +14,11 @@ {% if app %}{{ app.name | first }}{% endif %} {% if app %}({% endif %}{{ params.client_id }}{% if app %}){% endif %}? {% if verified %} - + {% else %} - + {% endif %} @@ -65,6 +65,6 @@ {% endblock %} {% block foot %} {% endblock %} diff --git a/lemoncurry/static/lemoncurry/css/layout.styl b/lemoncurry/static/lemoncurry/css/layout.styl index b4ca013..5d7705d 100644 --- a/lemoncurry/static/lemoncurry/css/layout.styl +++ b/lemoncurry/static/lemoncurry/css/layout.styl @@ -33,6 +33,10 @@ code, pre, .code, .pre text-decoration none line-height 1 +.tippy-popper[x-placement^=top] .tippy-tooltip + .tippy-arrow + border-top-color $base03 + body display flex flex-direction column diff --git a/lemoncurry/templates/lemoncurry/layout.html b/lemoncurry/templates/lemoncurry/layout.html index c38fd23..ade0d45 100644 --- a/lemoncurry/templates/lemoncurry/layout.html +++ b/lemoncurry/templates/lemoncurry/layout.html @@ -112,8 +112,8 @@ - +