Skip to content

Commit

Permalink
Merge pull request #10 from smartbooster/image_styles
Browse files Browse the repository at this point in the history
smartbooster/sandbox#25 : add style for vichuploader form field
  • Loading branch information
nicolas-bastien authored Feb 7, 2020
2 parents a804a8e + 028e5e2 commit a0f4ed3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions assets/styles/_image.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//Smart content Bundle
.vich-image {
display: flex;
flex-direction: column;

img {
max-width: 100%;
max-height: 150px;
border: 1px solid $gray;
padding: 5px;
margin-bottom: 15px;
}
a:not(:nth-child(3n)) {
padding-left: 5px;
&::before {
font: normal normal normal 14px/1 FontAwesome;
content: "\f019";
margin-right: 5px;
}
}
}
1 change: 1 addition & 0 deletions assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
@import "skin";
@import "login";
@import "layout";
@import "image";

0 comments on commit a0f4ed3

Please sign in to comment.