diff --git a/app/assets/stylesheets/_consul_settings.scss b/app/assets/stylesheets/_consul_settings.scss index 736433875..2124fa115 100644 --- a/app/assets/stylesheets/_consul_settings.scss +++ b/app/assets/stylesheets/_consul_settings.scss @@ -74,6 +74,8 @@ $input-height: $line-height * 2; $icon-width: $line-height * 2; +$off-screen-left: -1000rem; + $sdg-icon-min-width: 40px; $sdg-colors: ( diff --git a/app/assets/stylesheets/admin/table_actions.scss b/app/assets/stylesheets/admin/table_actions.scss index 51f1a5ee5..b217105ba 100644 --- a/app/assets/stylesheets/admin/table_actions.scss +++ b/app/assets/stylesheets/admin/table_actions.scss @@ -10,7 +10,7 @@ > :first-child { @include bottom-tooltip; - left: -10000px; + left: $off-screen-left; opacity: 0; transform: translateX(-50%); transition: opacity 0.3s, left 0s 0.3s; @@ -28,7 +28,7 @@ } &:not(:focus) > :first-child:hover { - left: -10000px; + left: $off-screen-left; } &::before {