Skip to content

Commit

Permalink
Don't show loading state so low down
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Mulholland committed Oct 20, 2022
1 parent 958e0ce commit 9a79944
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

- Prevented the loader from taking up 100% of the height of the browser [Pull Request](https://github.com/nylas/components/pull/462)

# 2021-11-29

## 1.1.1
Expand Down
6 changes: 0 additions & 6 deletions components/mailbox/src/Mailbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -737,12 +737,6 @@
gap: 8px;
}
&.loading {
grid-template-rows: minmax(
auto,
calc(100vh - 16px)
); /** loading mailbox minus padding **/
}
&.empty {
grid-template-rows: 68px 33.5px minmax(auto, calc(100vh - 117.5px)); /** header, toolbar, empty mailbox (100vh) minus header, toolbar and padding **/
ul {
Expand Down

0 comments on commit 9a79944

Please sign in to comment.