Skip to content

Commit

Permalink
fix: 修复官方图层控件样式问题 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiyexing authored Nov 27, 2023
1 parent 5d9dae3 commit 4718732
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import { theme } from 'antd';
const useStyle = () => {
const { useToken } = theme;
const { token } = useToken();
const { colorBgElevated, colorBgContainer, colorText, colorIcon } = token;
const { colorBgElevated, colorBgContainer, colorText, colorIcon, boxShadow } = token;
return {
mapTab: css`
background-color: ${colorBgElevated};
border-radius: 4px;
display: flex;
align-items: center;
box-shadow: ${boxShadow};
&:hover .add-map {
display: block;
}
Expand Down

0 comments on commit 4718732

Please sign in to comment.