fix padding

pull/5370/head
Joseph Izang 5 months ago committed by Aniket
parent 5620b2baf0
commit 45151d4f1d
  1. 6
      libs/remix-ui/git/src/components/gitui.tsx
  2. 2
      libs/remix-ui/git/src/components/navigation/sourcecontrolgroup.tsx
  3. 2
      libs/remix-ui/git/src/components/panels/commands.tsx

@ -178,7 +178,7 @@ export const GitUI = (props: IGitUi) => {
<SourceControlNavigation eventKey="0" activePanel={activePanel} callback={setActivePanel} /> <SourceControlNavigation eventKey="0" activePanel={activePanel} callback={setActivePanel} />
<Accordion.Collapse className='bg-light' eventKey="0"> <Accordion.Collapse className='bg-light' eventKey="0">
<div className="px-3"> <div className="px-2 py-2">
<SourceControlBase><CommitMessage /></SourceControlBase> <SourceControlBase><CommitMessage /></SourceControlBase>
<SourceControl /> <SourceControl />
</div> </div>
@ -186,9 +186,9 @@ export const GitUI = (props: IGitUi) => {
<hr></hr> <hr></hr>
<CommandsNavigation eventKey="1" activePanel={activePanel} callback={setActivePanel} /> <CommandsNavigation eventKey="1" activePanel={activePanel} callback={setActivePanel} />
<Accordion.Collapse className="bg-light" eventKey="1"> <Accordion.Collapse className="bg-light" eventKey="1">
<> <div className="px-2 py-2">
<Commands></Commands> <Commands></Commands>
</> </div>
</Accordion.Collapse> </Accordion.Collapse>
<hr></hr> <hr></hr>
<CommitsNavigation title={`COMMITS`} eventKey="3" activePanel={activePanel} callback={setActivePanel} showButtons={true} /> <CommitsNavigation title={`COMMITS`} eventKey="3" activePanel={activePanel} callback={setActivePanel} showButtons={true} />

@ -39,7 +39,7 @@ export const SourceControlGroupNavigation = (props: SourceControlGroupNavigation
<span className='d-flex justify-content-end align-items-center w-25 py-2'> <span className='d-flex justify-content-end align-items-center w-25 py-2'>
{group.name === 'Changes' ? {group.name === 'Changes' ?
<CustomTooltip tooltipText={<FormattedMessage id="git.stageall" />}> <CustomTooltip tooltipText={<FormattedMessage id="git.stageall" />}>
<button data-id='sourcecontrol-add-all' onClick={async () => { await actions.addall(context.allchangesnotstaged) }} className='btn btn-sm' style={{ marginLeft: '1rem', marginRight: '1.9rem' }}><FontAwesomeIcon icon={faPlus} className="" /></button> <button data-id='sourcecontrol-add-all' onClick={async () => { await actions.addall(context.allchangesnotstaged) }} className='btn btn-sm' style={{ marginLeft: '1rem', marginRight: '1.3rem' }}><FontAwesomeIcon icon={faPlus} className="" /></button>
</CustomTooltip>: null} </CustomTooltip>: null}
</span> : null </span> : null

@ -6,7 +6,7 @@ import { Merge } from "./commands/merge";
export const Commands = () => { export const Commands = () => {
return ( return (
<div className="px-3 py-2"> <div>
<PushPull></PushPull> <PushPull></PushPull>
<hr></hr> <hr></hr>
<Fetch></Fetch> <Fetch></Fetch>

Loading…
Cancel
Save