File tree Expand file tree Collapse file tree 2 files changed +14
-17
lines changed
Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Original file line number Diff line number Diff line change 11< h3 *ngIf ="profiles.length>0 "> Saved Profile</ h3 >
2- < article #profile class ="profile " *ngFor ="let profile of profiles " (click) ="onLoadProfile(profile) ">
2+ < article #profile class ="profile "
3+ *ngFor ="let profile of profiles " (click) ="onLoadProfile(profile) ">
4+ < div class ="profile-content ">
35 < h4 > {{profile.bookItem.title}}</ h4 >
46 < img src ="{{profile.bookItem.imageLink}} "/>
57 < span (click) ="onDeleteProfile($event, profile) " class ="delete "> ❌</ span >
8+ </ div >
9+
610</ article >
Original file line number Diff line number Diff line change 44 padding : 0 ;
55 font-size : 18px ;
66 }
7-
8- button {
9- font-size : 14px ;
10- font-family : inherit ;
11- background-color : #3498db ;
12- box-shadow : 1px 1px 1px #95a5a6 ;
13- border : none ;
14- padding : 4px 8px ;
15- cursor : pointer ;
16- color : white ;
17- }
18-
19-
7+ .profile-content {
8+ margin :0 20px 5px 10px ;
9+ padding-right : 5px ;
10+ }
2011 img {
12+
2113 width : 50px ;
2214 height : 50px ;
2315 }
2416 .profile {
2517 position : relative ;
2618 width : 100% ;
2719 background-color : #8cb4ce ;
28- margin :0 0 10px 0 ;
2920 cursor : pointer ;
3021 border-radius : 5px ;
3122
3223 h4 {
33- margin : 0 ;
34- padding : 5px 0 5px ;
24+ margin-top : 5px ;
25+ margin-left : 5px ;
26+ margin-right : 5px ;
27+ padding-top : 5px ;
3528 font-style : italic ;
3629 }
3730
You can’t perform that action at this time.
0 commit comments