Recenter text in nav bar

Summary: I added the height css style to align the sheet. In this revision, I removed the height to recenter the text, but I've had to nudge the sheet up 3 pixels.

Reviewed By: danielbuechele

Differential Revision: D16855746

fbshipit-source-id: 14b4b83abeb74c01c3706c5b81921f30c8d7e2d3
This commit is contained in:
Benjamin Elo
2019-08-16 05:45:19 -07:00
committed by Facebook Github Bot
parent 2b050851a3
commit 86f01d998f
2 changed files with 1 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ const MAX_ITEMS = 5;
const AutoCompleteSheetContainer = styled('div')({ const AutoCompleteSheetContainer = styled('div')({
width: '100%', width: '100%',
position: 'absolute', position: 'absolute',
top: '100%', top: 'calc(100% - 3px)',
backgroundColor: 'white', backgroundColor: 'white',
zIndex: 1, zIndex: 1,
borderBottomRightRadius: 10, borderBottomRightRadius: 10,

View File

@@ -50,7 +50,6 @@ const ToolbarContainer = styled('div')({
}); });
const SearchInputContainer = styled('div')({ const SearchInputContainer = styled('div')({
height: '100%',
width: '100%', width: '100%',
marginLeft: 5, marginLeft: 5,
marginRight: 9, marginRight: 9,