Skip to content

Commit 5547a67

Browse files
committed
update dialog labels on front, expand text fields
1 parent da2ba51 commit 5547a67

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

hwproj.front/src/components/Courses/StatsMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const StatsMenu: FC<StatsMenuProps> = props => {
108108
const getActionTitle = (action: SaveStatsAction | null) => {
109109
switch (action) {
110110
case SaveStatsAction.Download:
111-
return "Сохранить таблицу на диск"
111+
return "Скачать таблицу со статистикой"
112112
case SaveStatsAction.ShareWithGoogle:
113113
return "Выгрузить таблицу в Google Docs"
114114
case SaveStatsAction.ShareWithYandex:

hwproj.front/src/components/Solutions/DownloadStats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const DownloadStats: FC<DownloadStatsProps> = (props: DownloadStatsProps) => {
5252
loading={loading}
5353
onClick={handleFileDownloading}
5454
>
55-
Загрузить
55+
Скачать
5656
</LoadingButton>
5757
</Grid>
5858
<Grid>

hwproj.front/src/components/Solutions/ExportToGoogle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const ExportToGoogle: FC<ExportToGoogleProps> = (props: ExportToGoogleProps) =>
103103
</DialogContentText>
104104
<DialogActions style={{ padding: 0, marginTop: 12 }}>
105105
<Grid item container spacing={1} alignItems="center" marginRight="auto">
106-
<Grid item>
106+
<Grid item xs={true}>
107107
<TextField
108108
fullWidth
109109
size="small"

hwproj.front/src/components/Solutions/ExportToYandex.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const ExportToYandex: FC<ExportToYandexProps> = (props: ExportToYandexProps) =>
177177
</Grid>
178178
</DialogContentText>
179179
<DialogActions style={{ padding: 0, marginTop: 12 }}>
180-
<Grid item marginRight="auto">
180+
<Grid item xs={true} marginRight="auto">
181181
<TextField
182182
fullWidth
183183
size="small"

0 commit comments

Comments
 (0)