@@ -139,15 +139,15 @@ |
||
139 | 139 | ]; |
140 | 140 | |
141 | 141 | switch ($card->img_alignment) { |
142 | - case 'left': |
|
142 | + case 'left': |
|
143 | 143 | $ret['img_col_order_class'] = 'order-md-1'; |
144 | - $ret['text_col_order_class'] = 'order-md-2'; |
|
145 | - break; |
|
146 | - case 'right': |
|
144 | + $ret['text_col_order_class'] = 'order-md-2'; |
|
145 | + break; |
|
146 | + case 'right': |
|
147 | 147 | $ret['img_col_order_class'] = 'order-md-2'; |
148 | - $ret['text_col_order_class'] = 'order-md-1'; |
|
149 | - break; |
|
150 | - } |
|
148 | + $ret['text_col_order_class'] = 'order-md-1'; |
|
149 | + break; |
|
150 | + } |
|
151 | 151 | |
152 | 152 | return $ret; |
153 | 153 | } |
@@ -48,9 +48,9 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | return view('laravel-cards::cards.index', compact('cards')) |
51 | - ->with('i', (request()->input('page', 1) - 1) * 20) |
|
52 | - ->with('searchKeywords', $searchKeywords) |
|
53 | - ->with('countriesAvailableForTranslations', $countriesAvailableForTranslations); |
|
51 | + ->with('i', (request()->input('page', 1) - 1) * 20) |
|
52 | + ->with('searchKeywords', $searchKeywords) |
|
53 | + ->with('countriesAvailableForTranslations', $countriesAvailableForTranslations); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /***************************************************************************/ |