vira 31.28.0 → 31.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -227,7 +227,15 @@ export const ViraTabs = defineViraElement()({
|
|
|
227
227
|
top: 0;
|
|
228
228
|
left: 0;
|
|
229
229
|
overflow: visible;
|
|
230
|
+
/**
|
|
231
|
+
* visibility:hidden keeps the mirror's links out of the tab order, but a selected
|
|
232
|
+
* tab's label re-sets visibility:visible on itself (see ViraBoldText), which would
|
|
233
|
+
* override the inherited hidden state and paint the label. opacity:0 cannot be
|
|
234
|
+
* overridden by a descendant, so it keeps the mirror invisible while still allowing
|
|
235
|
+
* width measurement.
|
|
236
|
+
*/
|
|
230
237
|
visibility: hidden;
|
|
238
|
+
opacity: 0;
|
|
231
239
|
pointer-events: none;
|
|
232
240
|
}
|
|
233
241
|
|