@sparkvault/sdk 1.23.3 → 1.23.4
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.
package/dist/sparkvault.cjs.js
CHANGED
|
@@ -1967,6 +1967,21 @@ function getStyles(options) {
|
|
|
1967
1967
|
text-align: left;
|
|
1968
1968
|
padding: 12px 14px;
|
|
1969
1969
|
margin-bottom: 8px;
|
|
1970
|
+
/* Inset 2px on either side so the focus outline (drawn outside the
|
|
1971
|
+
border-box) has room to render without clipping against the
|
|
1972
|
+
dialog's container edges. width:auto pairs with this to prevent
|
|
1973
|
+
the row from forcing horizontal overflow. */
|
|
1974
|
+
margin-left: 2px;
|
|
1975
|
+
margin-right: 2px;
|
|
1976
|
+
width: calc(100% - 4px);
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/* The shared .sv-btn focus rule sets outline-offset:2px which sits
|
|
1980
|
+
outside the row's edges and gets clipped by the parent. Method
|
|
1981
|
+
rows are full-width by design, so render the focus indicator
|
|
1982
|
+
flush against the border instead. */
|
|
1983
|
+
.sv-btn-method:focus-visible {
|
|
1984
|
+
outline-offset: 0;
|
|
1970
1985
|
}
|
|
1971
1986
|
|
|
1972
1987
|
.sv-btn-method:hover:not(:disabled) {
|