Commit 17e5f6620145ebaa4c033d3dca89243b41093923
1 parent
d704c284
123
Showing
2 changed files
with
13 additions
and
1 deletions
Show diff stats
frontend/views/product/view.php
@@ -43,7 +43,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -43,7 +43,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
43 | 'id' => 'pjax-reload', | 43 | 'id' => 'pjax-reload', |
44 | 'timeout' => 5000, | 44 | 'timeout' => 5000, |
45 | ]); ?> | 45 | ]); ?> |
46 | -<div class="col-md-12"> | 46 | +<div class="col-md-12 product"> |
47 | <div class="col-md-8 col-sm-12"> | 47 | <div class="col-md-8 col-sm-12"> |
48 | <div class="pic"> | 48 | <div class="pic"> |
49 | <?php | 49 | <?php |
@@ -62,6 +62,7 @@ $this->params['breadcrumbs'][] = $this->title; | @@ -62,6 +62,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||
62 | <li><span>Состав:</span> 100% шелк</li> | 62 | <li><span>Состав:</span> 100% шелк</li> |
63 | </ul> | 63 | </ul> |
64 | </div> | 64 | </div> |
65 | + <div style="clear:both;"></div> | ||
65 | </div> | 66 | </div> |
66 | <div class="col-md-12 mat_pics"> | 67 | <div class="col-md-12 mat_pics"> |
67 | <?php | 68 | <?php |
frontend/web/css/style.css
@@ -1532,6 +1532,12 @@ p.right{text-align: right;} | @@ -1532,6 +1532,12 @@ p.right{text-align: right;} | ||
1532 | color: #000000; | 1532 | color: #000000; |
1533 | text-align: center; | 1533 | text-align: center; |
1534 | margin: 60px 0; | 1534 | margin: 60px 0; |
1535 | + padding: 0; | ||
1536 | +} | ||
1537 | +.col-md-12.product{ | ||
1538 | + max-width: 1070px; | ||
1539 | + margin: 0 auto; | ||
1540 | + float: none; | ||
1535 | } | 1541 | } |
1536 | .pic img{ | 1542 | .pic img{ |
1537 | width: 100%; | 1543 | width: 100%; |
@@ -1564,6 +1570,11 @@ p.right{text-align: right;} | @@ -1564,6 +1570,11 @@ p.right{text-align: right;} | ||
1564 | font-weight: 600; | 1570 | font-weight: 600; |
1565 | text-transform: uppercase; | 1571 | text-transform: uppercase; |
1566 | margin-bottom: 4px; | 1572 | margin-bottom: 4px; |
1573 | + max-height: 34px; | ||
1574 | + width: 100%; | ||
1575 | + overflow: hidden; | ||
1576 | + text-overflow: ellipsis; | ||
1577 | + white-space: nowrap; | ||
1567 | } | 1578 | } |
1568 | .mat-opt-list .name3{ | 1579 | .mat-opt-list .name3{ |
1569 | font-size: 17px; | 1580 | font-size: 17px; |