diff --git a/packages/li-analysis-assets/src/widgets/LegendWidget/ComponenStyle.ts b/packages/li-analysis-assets/src/widgets/LegendWidget/ComponenStyle.ts index 41854b29..ed88ed17 100644 --- a/packages/li-analysis-assets/src/widgets/LegendWidget/ComponenStyle.ts +++ b/packages/li-analysis-assets/src/widgets/LegendWidget/ComponenStyle.ts @@ -18,7 +18,7 @@ const useStyle = () => { `, popoverHeaderTitle: css` - padding: 2px 12px 5px; + padding: 0 12px 5px; font-size: 13px; border-bottom: ${colorBorder} solid 1px; `, diff --git a/packages/li-analysis-assets/src/widgets/SwipeControl/ComponenStyle.ts b/packages/li-analysis-assets/src/widgets/SwipeControl/ComponenStyle.ts index a0a8da2d..22ab8e78 100644 --- a/packages/li-analysis-assets/src/widgets/SwipeControl/ComponenStyle.ts +++ b/packages/li-analysis-assets/src/widgets/SwipeControl/ComponenStyle.ts @@ -15,8 +15,10 @@ const useStyle = () => { return { l7swipe: css` + color: #fff; + .l7-control-swipe__button { - color: ${colorText}; + color: #fff; background-color: ${colorPrimary}; border: #fff solid 2px; border-radius: ${borderRadius}px; @@ -55,7 +57,8 @@ const useStyle = () => { `, popoverHeaderTitle: css` - padding: 2px 12px 5px; + padding: 0 12px 5px; + font-size: 13px; border-bottom: ${colorBorder} solid 1px; `,