Skip to content

Commit

Permalink
fixed navbar collapse size
Browse files Browse the repository at this point in the history
  • Loading branch information
sitRyo committed Jul 8, 2020
1 parent 4eb59a6 commit 9ada62e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions atcoder-problems-frontend/src/components/UserSearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ const InnerUserSearchBar: React.FC<InnerProps> = (props) => {
<Navbar
color="light"
light
expand="lg"
expand="md"
className="border-bottom"
style={{ padding: 0 }}
>
<Collapse isOpen={props.isOpen} navbar>
<Nav navbar style={{ padding: "0.5rem 1rem" }}>
<Form inline>
<Input
className="mt-2 mr-2 mt-lg-0"
className="mt-2 mr-2 mt-lg-0 mt-md-0"
style={{ width: 160 }}
onKeyPress={(e): void => {
if (e.key === "Enter") {
Expand All @@ -137,7 +137,7 @@ const InnerUserSearchBar: React.FC<InnerProps> = (props) => {
/>

<Input
className="mt-2 mr-2 mt-lg-0"
className="mt-2 mr-2 mt-lg-0 mt-md-0"
style={{ width: 160 }}
onKeyPress={(e): void => {
if (e.key === "Enter") {
Expand All @@ -152,7 +152,7 @@ const InnerUserSearchBar: React.FC<InnerProps> = (props) => {
onChange={(e): void => setRivalIdString(e.target.value)}
/>

<ButtonGroup className="mt-2 mb-0 mt-lg-0">
<ButtonGroup className="mt-2 mb-0 mt-lg-0 mt-md-0">
<Button tag={RouterLink} to={tablePath} color="light">
Table
</Button>
Expand Down

0 comments on commit 9ada62e

Please sign in to comment.