Skip to content

Commit

Permalink
fix: small search box improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
sentialx committed Sep 30, 2019
1 parent d6aa4ce commit c652eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/renderer/views/app/models/tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export class ITab {
) => {
if (isMainFrame) {
this.background = store.theme.accentColor;
this.customColor = false;
this.favicon = '';
this.blockedAds = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/search/components/App/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const StyledApp = styled.div`
${({ visible, theme }: { visible: boolean; theme?: ITheme }) => css`
opacity: ${visible ? 1 : 0};
margin-top: ${visible ? 2 : 8}px;
margin-top: ${visible ? 2 : 6}px;
box-shadow: 0 0 0 2px
${theme['searchBox.input.lightForeground'] ? BLUE_500 : BLUE_300},
${shadows(4)};
Expand Down

0 comments on commit c652eb2

Please sign in to comment.