This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add indiana drag scroll for column layout (#29)
Signed-off-by: Antoine Chabert <[email protected]>
- Loading branch information
Showing
6 changed files
with
87 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 31 additions & 31 deletions
62
src/components/paginated-results/paginated-results.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
.results { | ||
--space: 0.8rem; | ||
display: inline-flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
padding-bottom: 2rem; | ||
--space: 0.8rem; | ||
display: inline-flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
padding-bottom: 2rem; | ||
} | ||
|
||
.results > * { | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.results > * + * { | ||
margin-top: var(--space); | ||
margin-top: var(--space); | ||
} | ||
|
||
.results :global(.bp3-card) { | ||
padding: 10px; | ||
overflow: hidden; | ||
word-break: break-word; | ||
padding: 10px; | ||
overflow: hidden; | ||
word-break: break-word; | ||
} | ||
|
||
.resultsHeader { | ||
display: flex; | ||
align-items: center; | ||
min-height: 30px; | ||
display: flex; | ||
align-items: center; | ||
min-height: 30px; | ||
} | ||
|
||
.moduleLogo { | ||
height: 1rem; | ||
margin-right: 0.4rem; | ||
height: 1rem; | ||
margin-right: 0.4rem; | ||
} | ||
|
||
.moduleTitle { | ||
margin-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.resultTotal { | ||
margin-bottom: 0; | ||
margin-left: 5px; | ||
margin-bottom: 0; | ||
margin-left: 5px; | ||
} | ||
|
||
:global(.column-layout) .resultTotal { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
.moduleFilters { | ||
margin-left: auto; | ||
margin-left: auto; | ||
} | ||
|
||
:global(.column-layout) .moduleFilters { | ||
display: none; | ||
display: none; | ||
} | ||
|
||
.moduleFiltersMore { | ||
display: none; | ||
margin-left: auto; | ||
display: none; | ||
margin-left: auto; | ||
} | ||
|
||
.moduleFiltersMoreContainer { | ||
padding: 3px; | ||
padding: 3px; | ||
} | ||
|
||
:global(.column-layout) .moduleFiltersMore { | ||
display: block; | ||
display: block; | ||
} | ||
|
||
.resultList { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | ||
grid-gap: 1rem; | ||
grid-auto-flow: row dense; | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | ||
grid-gap: 1rem; | ||
grid-auto-flow: row dense; | ||
} | ||
|
||
.resultItem { | ||
height: fit-content; | ||
height: fit-content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters