Spaces:
Running
Running
Update style/defaults/style.css
Browse files- style/defaults/style.css +11 -4
style/defaults/style.css
CHANGED
|
@@ -268,8 +268,7 @@ progress::-moz-progress-bar {
|
|
| 268 |
position: relative;
|
| 269 |
width: 100%;
|
| 270 |
}
|
| 271 |
-
|
| 272 |
-
.tooltip-close {
|
| 273 |
position: absolute;
|
| 274 |
top: -8px;
|
| 275 |
right: -8px;
|
|
@@ -279,16 +278,24 @@ progress::-moz-progress-bar {
|
|
| 279 |
width: 20px;
|
| 280 |
height: 20px;
|
| 281 |
|
| 282 |
-
/* New for centering: */
|
| 283 |
display: flex;
|
| 284 |
align-items: center;
|
| 285 |
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 286 |
padding: 0;
|
| 287 |
-
line-height: normal;
|
| 288 |
|
| 289 |
text-align: center;
|
| 290 |
cursor: pointer;
|
| 291 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
| 292 |
}
|
| 293 |
.tooltip-text {
|
| 294 |
margin-bottom: 10px;
|
|
|
|
| 268 |
position: relative;
|
| 269 |
width: 100%;
|
| 270 |
}
|
| 271 |
+
/.tooltip-close {
|
|
|
|
| 272 |
position: absolute;
|
| 273 |
top: -8px;
|
| 274 |
right: -8px;
|
|
|
|
| 278 |
width: 20px;
|
| 279 |
height: 20px;
|
| 280 |
|
|
|
|
| 281 |
display: flex;
|
| 282 |
align-items: center;
|
| 283 |
justify-content: center;
|
| 284 |
+
|
| 285 |
+
/* True centering and improved glyph alignment */
|
| 286 |
+
font-size: 15px;
|
| 287 |
+
font-family: inherit;
|
| 288 |
+
font-weight: 400;
|
| 289 |
+
line-height: 1;
|
| 290 |
+
vertical-align: middle;
|
| 291 |
padding: 0;
|
|
|
|
| 292 |
|
| 293 |
text-align: center;
|
| 294 |
cursor: pointer;
|
| 295 |
font-weight: bold;
|
| 296 |
+
|
| 297 |
+
/* Small nudge for optical centering */
|
| 298 |
+
transform: translateY(-1px);
|
| 299 |
}
|
| 300 |
.tooltip-text {
|
| 301 |
margin-bottom: 10px;
|