Skip to content

Commit

Permalink
WP-774: FIx UI formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc committed Jan 9, 2025
1 parent de51694 commit 84b9f59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ const AllocationsTeamViewModal = ({ isOpen, toggle }) => {

return (
<Modal isOpen={isOpen} toggle={toggle} size="lg" onClosed={resetCard}>
<ModalHeader className="has-MuiTabs" toggle={toggle} charCode="&#xe912;">
<ModalHeader className="pe-3 has-MuiTabs" toggle={toggle} charCode="&#xe912;">
<Tabs
style={{ marginBottom: '-8px' }}
value={selectedTab}
onChange={handleTabChange}
>
<Tab style={{ width: '160px', color: '#222222' }} label="View Team" />
{isManager && <Tab label="Manage Team" />}
{isManager && <Tab style={{ width: '160px', color: '#222222' }} label="Manage Team" />}
</Tabs>
</ModalHeader>
<ModalBody className={selectedTab === 0 ? 'd-flex p-0' : 'pb-0'}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const TextCopyField = ({ value, placeholder, displayField }) => {
data-testid="textarea"
readOnly
/>
<div className={styles['button-container']}>
<div className="input-group-text ms-auto p-0 my-2 bg-transparent border-0">
<CopyToClipboard text={value}>
<Button {...clipboardProps}>Copy</Button>
</CopyToClipboard>
Expand Down

0 comments on commit 84b9f59

Please sign in to comment.