Skip to content

Commit

Permalink
🐛 Fixes overlapping edit menu (gchq#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Nov 5, 2021
1 parent ba69614 commit e9344fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
:class="`item-group-container `
+ `orientation-${layout} `
+ `item-size-${itemSizeBound} `
+ (isEditMode ? 'edit-mode ' : '')
+ (singleSectionView ? 'single-section-view ' : '')
+ (this.colCount ? `col-count-${this.colCount} ` : '')"
>
Expand Down Expand Up @@ -350,6 +351,11 @@ export default {
/* Hide when search term returns nothing */
.no-results { display: none; }
/* Additional spacing when in edit mode */
&.edit-mode {
margin-bottom: 12rem;
}
/* When in single-section view mode */
&.single-section-view {
display: block;
Expand Down

0 comments on commit e9344fc

Please sign in to comment.