diff --git a/src/dialog/asset-details/index.scss b/src/dialog/asset-details/index.scss index 6bd1bbb..ff71338 100644 --- a/src/dialog/asset-details/index.scss +++ b/src/dialog/asset-details/index.scss @@ -695,26 +695,31 @@ } /* Dropdown 挂在 body 下时,仍能命中这些全局类 */ -.assetDetails__floatMenu { - width: 144px; - padding: 5px; - border-radius: 9px; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - display: flex; - flex-direction: column; - gap: 0; -} - -.assetDetails__floatRow { - display: flex; - flex-direction: row; - align-items: center; +.assetDetails__floatMenu { + position: relative; + z-index: 1; + width: 144px; + padding: 5px; + border-radius: 9px; + background: #ffffff; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + display: flex; + flex-direction: column; + gap: 0; + isolation: isolate; +} + +.assetDetails__floatRow { + display: flex; + flex-direction: row; + align-items: center; height: 37px; - width: 134px; - padding: 0 11px; - border: none; - border-radius: 5px; - font-size: 14px; + width: 134px; + padding: 0 11px; + border: none; + border-radius: 5px; + background: transparent; + font-size: 14px; font-weight: 400; line-height: normal; color: #666666;