From 47fbcd81891349bf662df00ea34bd5de9aba2ef5 Mon Sep 17 00:00:00 2001 From: alexnatalia Date: Sun, 29 May 2022 22:22:22 +0100 Subject: [PATCH] STooltip: Added center alignment for the arrow. --- package.json | 2 +- src/styles/neumorphism/tooltip.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6624b9c2..45314430 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soramitsu/soramitsu-js-ui", - "version": "1.0.32", + "version": "1.0.33", "private": false, "publishConfig": { "registry": "https://nexus.iroha.tech/repository/npm-soramitsu/" diff --git a/src/styles/neumorphism/tooltip.scss b/src/styles/neumorphism/tooltip.scss index c4eafbfc..d2daf2cf 100644 --- a/src/styles/neumorphism/tooltip.scss +++ b/src/styles/neumorphism/tooltip.scss @@ -19,6 +19,10 @@ $neu-tooltip-arrow-width: 8px; .popper__arrow { border-bottom-color: $neu-tooltip-background-color; + right: 0 !important; + left: 0 !important; + margin-right: auto !important; + margin-left: auto !important; &::after { border-bottom-color: inherit; }