MikaFil commited on
Commit
4768b81
·
verified ·
1 Parent(s): 1dd2cc2

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +4 -11
style/defaults/style.css CHANGED
@@ -268,7 +268,8 @@ progress::-moz-progress-bar {
268
  position: relative;
269
  width: 100%;
270
  }
271
- /.tooltip-close {
 
272
  position: absolute;
273
  top: -8px;
274
  right: -8px;
@@ -278,24 +279,16 @@ progress::-moz-progress-bar {
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;
 
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;
275
  right: -8px;
 
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;