diff --git a/packages/webapp/src/components/PageForm/PageForm.tsx b/packages/webapp/src/components/PageForm/PageForm.tsx index 7d173359d..cc58a57f8 100644 --- a/packages/webapp/src/components/PageForm/PageForm.tsx +++ b/packages/webapp/src/components/PageForm/PageForm.tsx @@ -50,7 +50,7 @@ PageFormFooter.displayName = 'PageFormFooter'; const footerActionsStyle = ` width: 100%; background: #fff; - padding: 14px 18px; + padding: 14px 20px; border-top: 1px solid rgb(210, 221, 226); box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.05); diff --git a/packages/webapp/src/containers/BrandingTemplates/BrandingTemplatesSelectFields.tsx b/packages/webapp/src/containers/BrandingTemplates/BrandingTemplatesSelectFields.tsx index 34b0ada06..501320fb6 100644 --- a/packages/webapp/src/containers/BrandingTemplates/BrandingTemplatesSelectFields.tsx +++ b/packages/webapp/src/containers/BrandingTemplates/BrandingTemplatesSelectFields.tsx @@ -1,6 +1,6 @@ -import { Button } from '@blueprintjs/core'; +import { Button, ButtonProps } from '@blueprintjs/core'; import styled from 'styled-components'; -import { FFormGroup } from '@/components'; +import { FFormGroup, Icon } from '@/components'; export const BrandingThemeFormGroup = styled(FFormGroup)` margin-bottom: 0; @@ -14,33 +14,21 @@ export const BrandingThemeFormGroup = styled(FFormGroup)` } `; -export const BrandingThemeSelectButton = styled(Button)` - position: relative; - padding-right: 26px; - - &::after { - content: ''; - display: inline-block; - width: 0; - height: 0; - - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 5px solid #98a1ae; - - position: absolute; - right: -2px; - top: 50%; - margin-top: -2px; - margin-right: 12px; - border-radius: 1px; - } -`; - - -export const convertBrandingTemplatesToOptions = (brandingTemplates: Array) => { +export const BrandingThemeSelectButton = (props: ButtonProps) => { + return ( +