We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95356cf commit 1fd86f5Copy full SHA for 1fd86f5
client/components/theme/style.scss
@@ -85,13 +85,15 @@ $theme-info-height: 54px;
85
86
color: $gray;
87
text-transform: uppercase;
88
- text-align: center;
89
font-size: 11px;
90
font-weight: 600;
91
92
background: transparentize($white, 0.9);
93
94
span {
+ position: absolute;
95
+ left: 50%;
96
+ transform: translate( -50%, 0 ); // center (using translate to allow animation)
97
padding: 6px 9px;
98
99
color: $gray-dark;
@@ -104,8 +106,7 @@ $theme-info-height: 54px;
104
106
105
107
@keyframes theme__active-focus-label {
108
0% {
- position: absolute;
- transform: translate3d( 0, 10px, 0);
109
+ transform: translate3d( -50%, 10px, 0);
110
}
111
112
0 commit comments