-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a test case and some small tweaks
- Loading branch information
Showing
7 changed files
with
69 additions
and
40 deletions.
There are no files selected for viewing
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
31 changes: 31 additions & 0 deletions
31
apps/dashboard/app/javascript/stylesheets/icon_picker.scss
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// styles for the icon picker used in product edit pages | ||
|
||
#icon_search { | ||
max-width: 98%; | ||
} | ||
|
||
// this is a ul element | ||
#icon_picker_list { | ||
list-style-type: none; | ||
padding: 0; | ||
max-height: 18em; | ||
overflow: scroll; | ||
|
||
// this is the main styling | ||
li { | ||
display: inline-flex; | ||
|
||
width: 3em; | ||
height: 3em; | ||
padding: .5em; | ||
border-radius: 3px; | ||
margin: .3em; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
i { | ||
box-sizing: inheret; | ||
font-size: 2em; | ||
} | ||
} | ||
} |
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