diff --git a/src/pages/grid/grid.html b/src/pages/grid/grid.html index 4ad642f..8995736 100644 --- a/src/pages/grid/grid.html +++ b/src/pages/grid/grid.html @@ -1,7 +1,7 @@ - + diff --git a/src/pages/grid/grid.scss b/src/pages/grid/grid.scss index 134cef5..ad209ef 100644 --- a/src/pages/grid/grid.scss +++ b/src/pages/grid/grid.scss @@ -1,9 +1,12 @@ page-grid { - .col { - background-size: cover; - border: 1px solid #000000; - box-sizing: border-box; - padding: 0 0 33%; + ion-col { + + &.profile { + background-size: cover; + border: 1px solid #000000; + box-sizing: border-box; + padding: 0 0 33%; + } } } diff --git a/src/pages/grid/grid.ts b/src/pages/grid/grid.ts index b73f68d..4030370 100644 --- a/src/pages/grid/grid.ts +++ b/src/pages/grid/grid.ts @@ -21,7 +21,7 @@ export class GridPage { } getBackgroundThumbnail(pics) { - return this._sanitizer.bypassSecurityTrustStyle('url(' + pics.thumb + ')'); + return this._sanitizer.bypassSecurityTrustStyle('url(https://appsby.fitz.guru/urge/' + pics.thumb + ')'); } profileTapped(event, profile) { diff --git a/src/pages/profile/profile.ts b/src/pages/profile/profile.ts index 803c261..e363c5b 100644 --- a/src/pages/profile/profile.ts +++ b/src/pages/profile/profile.ts @@ -30,7 +30,7 @@ export class ProfilePage { } getBackground(pics) { - return this._sanitizer.bypassSecurityTrustStyle('url(' + pics.detail + ')'); + return this._sanitizer.bypassSecurityTrustStyle('url(https://appsby.fitz.guru/urge/' + pics.detail + ')'); } markFavorite(event, profile) {