Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #800 from eyworldwide/main
Browse files Browse the repository at this point in the history
fix: search style
  • Loading branch information
eyworldwide authored Sep 15, 2023
2 parents d6df525 + 7836d4f commit 5876f6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/header/components/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const SearchBox = () => {
let endSlot = null;

if (loadingSearchResult) {
endSlot = <Spin size="sm" />
endSlot = <Spin size="sm" css={{width: "$4", height: "$4", marginRight: "$1_5"}} />
}
else if (searchText) {
endSlot = <ActionButton size="md">
Expand Down
5 changes: 4 additions & 1 deletion src/components/header/components/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ interface ISearchResProps {

const StyledTabList = styled(TabsList, {
marginBottom: "$4",
backgroundColor: "transparent",
gap: "$8",
"& button": {
transition: "border-color 0.2s",
borderBottom: "4px solid transparent",
border: "none",
borderBottom: "1px solid transparent",
"&[data-state='active']": {
backgroundColor: "transparent",
borderColor: "$blue10"
}
}
Expand Down
1 change: 0 additions & 1 deletion src/components/home/Editor.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ArrowRightOutlined } from "@ant-design/icons";
import { Button, Flex, styled } from "@galacean/editor-ui";
import { MagicWand } from "iconoir-react";
import { FormattedMessage } from 'react-intl';

const StyledEditor = styled("div", {
Expand Down

0 comments on commit 5876f6a

Please sign in to comment.