Skip to content

Commit

Permalink
feat: Adding a light box shadow for list
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Dec 30, 2022
1 parent 8ab11b3 commit 0103fff
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions cmd/fibr/static/styles/layout.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.breakable {
word-break: break-word;
}

.top-shadow {
box-shadow: 0 -.5em .5em -.5em var(--white);
}
2 changes: 1 addition & 1 deletion cmd/fibr/static/styles/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/fibr/templates/share-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2 class="flex flex-center header no-margin">
</p>
{{ end }}

<p class="padding no-margin center">
<p class="padding no-margin center top-shadow">
<a href="#share-form" class="button bg-primary">Add</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion cmd/fibr/templates/webhook-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2 class="flex flex-center header no-margin">
</p>
{{ end }}

<p class="padding no-margin center">
<p class="padding no-margin center top-shadow">
<a href="#webhook-form" class="button bg-primary">Add</a>
</p>
</div>
Expand Down
4 changes: 0 additions & 4 deletions pkg/metadata/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ func (a App) computeAndSaveAggregate(ctx context.Context, dir absto.Item) error
return fmt.Errorf("aggregate: %w", err)
}

if len(directoryAggregate) == 0 {
return nil
}

return a.SaveAggregateFor(ctx, dir, provider.Aggregate{
Cover: previousAggregate.Cover,
Location: directoryAggregate.value(),
Expand Down

0 comments on commit 0103fff

Please sign in to comment.