Skip to content

Commit

Permalink
Stylistic improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Aug 28, 2024
1 parent f1933b5 commit 3ef1e23
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
19 changes: 9 additions & 10 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@

<main>
<div id="readme">
<Paper>
<div id="info-container">
<EditableMarkdown
source={data.globals.readme}
editable={data.loggedIn}
onSave={text => api().readme.set(text)}
/>
</div>
</Paper>
<div id="info-container">
<EditableMarkdown
source={data.globals.readme}
editable={data.loggedIn}
onSave={text => api().readme.set(text)}
/>
</div>
</div>

<!-- List all entry cards -->
Expand All @@ -52,11 +50,12 @@
}
#info-container {
padding: 20px;
width: 90%;
}
/* #filters {
width: 100%;
} */
#group-list {
width: 80%;
width: 100%;
}
</style>
19 changes: 9 additions & 10 deletions src/routes/[group]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@

<main>
<div id="readme">
<Paper>
<div id="info-container">
<EditableMarkdown
source={groupData.readme}
editable={data.loggedIn}
onSave={text => api().group.withId(data.groupId).readme.set(text)}
/>
</div>
</Paper>
<div id="info-container">
<EditableMarkdown
source={groupData.readme}
editable={data.loggedIn}
onSave={text => api().group.withId(data.groupId).readme.set(text)}
/>
</div>
</div>

<!-- TODO: Implement filtering -->
Expand Down Expand Up @@ -60,11 +58,12 @@
}
#info-container {
padding: 20px;
width: 90%;
}
/* #filters {
width: 100%;
} */
#item-list {
width: 80%;
width: 100%;
}
</style>

0 comments on commit 3ef1e23

Please sign in to comment.