diff --git a/src/components/Organizations/AddGroupToProject/index.js b/src/components/Organizations/AddGroupToProject/index.js index afce5a07..40807ddc 100644 --- a/src/components/Organizations/AddGroupToProject/index.js +++ b/src/components/Organizations/AddGroupToProject/index.js @@ -7,10 +7,9 @@ import Modal from 'components/Modal'; // @TODO: add this once the logic exists import withLogic from 'components/Organizations/AddGroupToProject/logic'; import gql from 'graphql-tag'; -import { bp, color } from 'lib/variables'; import { RoleSelect } from '../AddUserToGroup/Styles'; -import { Footer, StyledNotification, StyledNotificationWrapper } from '../SharedStyles'; +import { AddButtonContent, Footer, StyledNotification, StyledNotificationWrapper } from '../SharedStyles'; const ADD_GROUP_PROJECT_MUTATION = gql` mutation addProjectToGroup($groupName: String!, $projectName: String!) { @@ -43,10 +42,10 @@ export const AddGroupToProject = ({
@@ -66,9 +65,15 @@ export const AddGroupToProject = ({ Group ({ ...base, zIndex: 9999, color: 'black' }) }} + styles={{ + menuPortal: base => ({ ...base, zIndex: 9999, color: 'black', fontSize: '16px' }), + placeholder: base => ({ ...base, fontSize: '16px' }), + menu: base => ({ ...base, fontSize: '16px' }), + option: base => ({ ...base, fontSize: '16px' }), + singleValue: base => ({ ...base, fontSize: '16px' }), + }} aria-label="Group" placeholder="Select a group..." name="group" diff --git a/src/components/Organizations/AddNotificationToProject/index.js b/src/components/Organizations/AddNotificationToProject/index.js index 70dbfd2c..434614e2 100644 --- a/src/components/Organizations/AddNotificationToProject/index.js +++ b/src/components/Organizations/AddNotificationToProject/index.js @@ -7,10 +7,9 @@ import Modal from 'components/Modal'; // @TODO: add this once the logic exists import withLogic from 'components/Organizations/AddNotificationToProject/logic'; import gql from 'graphql-tag'; -import { bp, color } from 'lib/variables'; import { RoleSelect } from '../AddUserToGroup/Styles'; -import { Footer, StyledNotification, StyledNotificationWrapper } from '../SharedStyles'; +import { AddButtonContent, Footer, StyledNotification, StyledNotificationWrapper } from '../SharedStyles'; const ADD_PROJECT_NOTIFICATION_MUTATION = gql` mutation addNotificationToProject( @@ -49,10 +48,10 @@ export const AddNotificationToProject = ({
@@ -87,7 +86,13 @@ export const AddNotificationToProject = ({ ({ ...base, zIndex: 9999, color: 'black' }) }} + styles={{ + menuPortal: base => ({ ...base, zIndex: 9999, color: 'black', fontSize: '16px' }), + placeholder: base => ({ ...base, fontSize: '16px' }), + menu: base => ({ ...base, fontSize: '16px' }), + option: base => ({ ...base, fontSize: '16px' }), + singleValue: base => ({ ...base, fontSize: '16px' }), + }} aria-label="Notification" placeholder="Select a notification..." name="notification" diff --git a/src/components/Organizations/AddUserToGroup/Styles.tsx b/src/components/Organizations/AddUserToGroup/Styles.tsx index 8354cc89..cc0b84de 100644 --- a/src/components/Organizations/AddUserToGroup/Styles.tsx +++ b/src/components/Organizations/AddUserToGroup/Styles.tsx @@ -15,7 +15,8 @@ export const NewMember = styled.div` min-height: 38px; border-color: hsl(0, 0%, 80%); font-family: 'source-code-pro', sans-serif; - font-size: 0.8125rem; + font-size: 16px; + line-height:24px; color: #000; padding: 8px; box-sizing: border-box; diff --git a/src/components/Organizations/AddUserToGroup/index.js b/src/components/Organizations/AddUserToGroup/index.js index e19af108..ea57a533 100644 --- a/src/components/Organizations/AddUserToGroup/index.js +++ b/src/components/Organizations/AddUserToGroup/index.js @@ -86,7 +86,13 @@ export const AddUserToGroup = ({ ({ ...base, zIndex: 9999, color: 'black' }) }} + styles={{ + menuPortal: base => ({ ...base, zIndex: 9999, color: 'black', fontSize: '16px' }), + placeholder: base => ({ ...base, fontSize: '16px' }), + menu: base => ({ ...base, fontSize: '16px' }), + option: base => ({ ...base, fontSize: '16px' }), + singleValue: base => ({ ...base, fontSize: '16px' }), + }} aria-label="Role" placeholder="Select role" name="role" diff --git a/src/components/Organizations/AddUserToGroupSelect/index.tsx b/src/components/Organizations/AddUserToGroupSelect/index.tsx index 19c0b369..e4b9f3cc 100644 --- a/src/components/Organizations/AddUserToGroupSelect/index.tsx +++ b/src/components/Organizations/AddUserToGroupSelect/index.tsx @@ -88,7 +88,7 @@ const AddUserToGroupSelect: FC = ({ groups, newUserState, setNewUserState

Add user to a group