Skip to content

Commit

Permalink
Make lower section controls clearer in diff view
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Lucas committed Oct 15, 2021
1 parent 4950c46 commit aa7a865
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/giterm/app/renderer/lib/primitives/panels/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createPortal } from 'react-dom'
import styled from 'styled-components'

import { Context } from './Context'
import { colours } from 'app/lib/theme'

export function Show(props) {
const element = useContext(Context)
Expand All @@ -22,9 +23,15 @@ const MenuWrapper = styled.div`
z-index: 1000;
/* Anchor to top right of view */
position: absolute;
top: 0;
right: 0;
background-color: ${colours.palette.bg};
border-bottom-left-radius: 5px;
border-bottom: solid gray 1px;
border-left: solid gray 1px;
`

export const Item = styled.div`
Expand Down

0 comments on commit aa7a865

Please sign in to comment.