diff --git a/src/app/portfolio/portfolio.component.ts b/src/app/portfolio/portfolio.component.ts
index f41877c..ec793ec 100644
--- a/src/app/portfolio/portfolio.component.ts
+++ b/src/app/portfolio/portfolio.component.ts
@@ -25,6 +25,43 @@ export class PortfolioComponent implements OnInit {
this.apisService.getPortfolio(this.section).toPromise().then((response) => {
this.portfolioItems = response.items
+
+ let cnt = 0
+ let width = 0
+ let tot = 0
+
+ this.portfolioItems.forEach((e) => {
+ switch (cnt) {
+ case 0:
+ width = Math.floor(Math.random()*3)+3
+ tot = width
+ cnt++
+ break;
+ case 1:
+ width = Math.floor(Math.random()*3)+3
+ cnt++
+
+ if(tot + width > 9) {
+ width = 12 - tot
+ tot = 0
+ cnt = 0
+ } else {
+ tot = tot + width
+ }
+
+ break;
+ case 2:
+ width = 12 - tot
+ tot = 0
+ cnt = 0
+ break;
+ }
+
+ e.width = width
+
+ //((e.id % 5)+3)
+ //Math.floor((Math.random()*3)+1)+2
+ })
},(error) => {
console.error('getPortfolio ERROR', error)
}).catch((e) => {
diff --git a/src/assets/scss/variables.scss b/src/assets/scss/variables.scss
index d4bcaab..dd99a70 100644
--- a/src/assets/scss/variables.scss
+++ b/src/assets/scss/variables.scss
@@ -3,14 +3,14 @@ $grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
- lg: 992px,
+ lg: 1024px,
xl: 1440px
);
$container-max-widths: (
sm: 540px,
md: 720px,
- lg: 960px,
+ lg: 990px,
xl: 1418px
);