Skip to content

Commit b462b99

Browse files
Morts-PSyihuiliao
andauthored
add explicit box-sizing of content-box to spectrum menu checkmark to avoid clipping in envs that use external bootsrap css globals (#6470)
Co-authored-by: Yihui Liao <[email protected]>
1 parent 83cb20d commit b462b99

File tree

1 file changed

+1
-0
lines changed
  • packages/@adobe/spectrum-css-temp/components/menu

1 file changed

+1
-0
lines changed

packages/@adobe/spectrum-css-temp/components/menu/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ governing permissions and limitations under the License.
8787
.spectrum-Menu-checkmark {
8888
transform: scale(1);
8989
opacity: 1;
90+
box-sizing: content-box;
9091
/*
9192
Renamed from padding-y to padding-height to fix docs issue where fallback var replaced this value
9293
(due to old spectrum-css postcss-custom-properties-custom-mapping plugin).

0 commit comments

Comments
 (0)