Skip to content

Commit

Permalink
#408 Fix spacing issue in ShareDialog component
Browse files Browse the repository at this point in the history
  • Loading branch information
io53 committed Apr 29, 2024
1 parent c7fdb81 commit e36c045
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ShareDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
ListItem,
ListIcon,
Progress,
Box,
} from "@chakra-ui/react"
import { withTranslation } from 'react-i18next';
import { MdClear } from "react-icons/md";
Expand Down Expand Up @@ -88,7 +89,7 @@ class ShareDialog extends Component {
<>
<RDialog title={t("share_sensor_title")} isOpen={this.props.open} onClose={this.props.onClose}>
{addNewlines(t("share_sensor_description"), "\\n")}
<br />
<Box h="15px" />
<div style={{ fontFamily: "Montserrat", fontWeight: 800 }}>{t("share_sensor_add_friend")}</div>
<Input autoFocus placeholder={t("email")} type="email" value={this.state.email} onChange={this.emailHandler.bind(this)} mt="10px" onKeyDown={this.keyDown.bind(this)} />
<div style={{ textAlign: "right" }}>
Expand Down

0 comments on commit e36c045

Please sign in to comment.