Skip to content

Commit

Permalink
A few accessibility improvements to layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Sep 22, 2024
1 parent a2f45ca commit f01967f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
11 changes: 0 additions & 11 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,17 +357,6 @@
background: var(--wordplay-alternating-color);
}

.firebase-emulator-warning {
top: 0 !important;
right: 1% !important;
bottom: auto !important;
left: 99% !important;
font-family: var(--wordplay-app-font) !important;
font-size: 4pt;
color: var(--wordplay-error) !important;
background: var(--wordplay-error) !important;
}

noscript {
display: flex;
align-items: center;
Expand Down
8 changes: 2 additions & 6 deletions src/components/app/Page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,8 @@

<style>
.page {
width: 100%;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
}
Expand Down
4 changes: 3 additions & 1 deletion src/db/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ if (typeof process === 'undefined') {
// Initialize emulator if environment is local.
if (emulating) {
connectFirestoreEmulator(firestore, 'localhost', 8080);
connectAuthEmulator(auth, 'http://localhost:9099');
connectAuthEmulator(auth, 'http://localhost:9099', {
disableWarnings: true,
});
connectFunctionsEmulator(functions, 'localhost', 5001);
}
} catch (err) {
Expand Down
7 changes: 2 additions & 5 deletions src/routes/project/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
.project {
display: flex;
flex-direction: row;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
}
</style>

0 comments on commit f01967f

Please sign in to comment.