Skip to content
This repository was archived by the owner on Jul 23, 2023. It is now read-only.

Commit b51728f

Browse files
authored
Small text and styling fixes (#78)
* Align tab text * Fix reset butotn text
1 parent 8c18e03 commit b51728f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/MainView.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ import LoadingBar from './LoadingBar';
2323
import UpdatePage from './Update';
2424
import Notifications from './Notifications';
2525

26-
const useStyles = makeStyles({
26+
const useTabStyles = makeStyles({
2727
root: {
2828
minHeight: 0,
2929
},
3030
wrapper: {
3131
flexDirection: 'row',
3232
justifyContent: 'space-evenly',
33+
alignItems: 'flex-start',
3334
},
3435
});
3536

@@ -66,7 +67,7 @@ const updateTab: Tab = {
6667
};
6768

6869
const MainView = () => {
69-
const styles = useStyles();
70+
const tabStyles = useTabStyles();
7071
const [selectedTab, setSelectedTab] = useState(0);
7172
const { appRelease } = useAppState();
7273

@@ -83,7 +84,7 @@ const MainView = () => {
8384
key={tab.name}
8485
label={tab.name}
8586
value={index}
86-
classes={styles}
87+
classes={tabStyles}
8788
icon={<tab.icon color={tab.color} />}
8889
onClick={() => setSelectedTab(index)}
8990
/>

src/components/Settings/ResetSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ResetSettings = () => {
2626
onClick={handleResetClick}
2727
startIcon={<RestoreIcon />}
2828
>
29-
Reset all to settings to default
29+
Reset all settings to default
3030
</Button>
3131
</ListItem>
3232
);

0 commit comments

Comments
 (0)