Spaces:
Running
Running
Update style/defaults/style.css
Browse files- style/defaults/style.css +9 -1
style/defaults/style.css
CHANGED
|
@@ -268,6 +268,7 @@ progress::-moz-progress-bar {
|
|
| 268 |
position: relative;
|
| 269 |
width: 100%;
|
| 270 |
}
|
|
|
|
| 271 |
.tooltip-close {
|
| 272 |
position: absolute;
|
| 273 |
top: -8px;
|
|
@@ -277,7 +278,14 @@ progress::-moz-progress-bar {
|
|
| 277 |
border-radius: 50%;
|
| 278 |
width: 20px;
|
| 279 |
height: 20px;
|
| 280 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
text-align: center;
|
| 282 |
cursor: pointer;
|
| 283 |
font-weight: bold;
|
|
|
|
| 268 |
position: relative;
|
| 269 |
width: 100%;
|
| 270 |
}
|
| 271 |
+
/* --- FIX: Perfectly center the tooltip close button (×) on all devices --- */
|
| 272 |
.tooltip-close {
|
| 273 |
position: absolute;
|
| 274 |
top: -8px;
|
|
|
|
| 278 |
border-radius: 50%;
|
| 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;
|