-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(assets): use paragon pagination & search
Paragon's `Pagination` and `SearchField` components are now used for the Assets page and the parallel Add Image Modal. This involves some visual changes, and a difference in the number of pages ellided in the navigation bar. `perf` in the title here is used to force a new patch version, but `refactor` would likely be more descriptive. fixes EDUCATOR-3421
- Loading branch information
Matt Hughes
committed
Sep 28, 2018
1 parent
378219f
commit 527bb5a
Showing
19 changed files
with
562 additions
and
1,007 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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 |
---|---|---|
|
@@ -18,7 +18,6 @@ | |
|
||
li span { | ||
word-wrap: break-word; | ||
width: 100%; | ||
} | ||
|
||
// from Bootstrap list-group-item class | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
@import 'edx-bootstrap'; | ||
@import "~@edx/paragon/src/SearchField/SearchField"; | ||
|
||
.form-inline { | ||
margin-bottom: 0; | ||
} | ||
|
||
.form-inline label { | ||
margin-right: 1.0rem; | ||
font-weight: 600; | ||
} | ||
|
||
.form-inline button { | ||
margin-left: 1.0rem; | ||
padding: 0.625rem 0.9rem; | ||
// Overriding SFE _var-reset rules which interfere with paragon search field functionality | ||
.search-field .form-group.form-inline { | ||
background-color: transparent | ||
} |
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
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
Oops, something went wrong.