Skip to content

Commit

Permalink
[frontend] chore: css tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
helloitsdave committed Feb 12, 2024
1 parent 1500967 commit c839c79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
}

body {
margin: 20px;
margin: 0px;
background-color: white;
}

Expand Down Expand Up @@ -37,7 +37,7 @@ body {
width: 400px;
min-height: 250px;
align-items: center;
margin: 10px;
margin-bottom: 10px;
justify-content: space-between;
height: 100%;
}
Expand All @@ -59,8 +59,9 @@ h2 {
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
width: 100vw;
margin-bottom: 20px;
background-color: lightgrey;
}

.note-form {
Expand Down Expand Up @@ -105,7 +106,7 @@ textarea {

.notes-header button{
border-radius: 5px;
background-color: coral;
background-color: crimson;
border: none;
padding: 8px;
font-size: 10px;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ function App() {
<div className="app-container">
<header className="app-header">
<img className="app-logo" src="notes.png" alt="note icon" />
<Button
</header>
<Button
className="add-note-button"
type="primary"
onClick={() => setIsModalVisible(true)}
>
Add a note
</Button>
</header>
{connectionIssue && (
<h3 className="connection-warning">Warning: API Connection Issue</h3>
)}
Expand Down

1 comment on commit c839c79

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

100.00%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   App.tsx100%100%100%
src/api
   apiService.ts100%100%100%
src/components
   Note.tsx100%100%100%
   NoteForm.tsx100%100%100%
   NoteGrid.tsx100%100%100%
   Spinner.tsx100%100%100%

Please sign in to comment.