Skip to content

Commit

Permalink
fix button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
melodoc committed Jul 27, 2024
1 parent 202ef45 commit 31297af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ function DataManagementPanel() {
};

return (
<div>
<>
<h1> 🎓 Управление вопросами для тренировки</h1>
<div className="file-upload-container">
<button type="button" onClick={() => exportDataToFile(LOCAL_STORAGE_KEYS.answers, "incorrectAnswers.json")}>
📤 Экспортировать
🚚 Экспортировать
</button>
<div className="file-upload-buttons">
<input
Expand All @@ -36,7 +36,7 @@ function DataManagementPanel() {
</label>
</div>
</div>
</div>
</>
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
align-items: center;
justify-content: center;
gap: 1em;
flex-wrap: wrap;
}

.file-upload-buttons {
Expand All @@ -18,6 +19,7 @@
font-size: 1em;
font-weight: 500;
font-family: inherit;
line-height: normal;
background-color: #1a1a1a;
padding: 0.6em 1.2em;
cursor: pointer;
Expand Down

0 comments on commit 31297af

Please sign in to comment.