Skip to content

Commit 06bd95f

Browse files
authored
STooltip: Added center alignment for the arrow. (#416)
1 parent 14bea29 commit 06bd95f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@soramitsu/soramitsu-js-ui",
3-
"version": "1.0.32",
3+
"version": "1.0.33",
44
"private": false,
55
"publishConfig": {
66
"registry": "https://nexus.iroha.tech/repository/npm-soramitsu/"

src/styles/neumorphism/tooltip.scss

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ $neu-tooltip-arrow-width: 8px;
1919

2020
.popper__arrow {
2121
border-bottom-color: $neu-tooltip-background-color;
22+
right: 0 !important;
23+
left: 0 !important;
24+
margin-right: auto !important;
25+
margin-left: auto !important;
2226
&::after {
2327
border-bottom-color: inherit;
2428
}

0 commit comments

Comments
 (0)