fix: constrain product name length to prevent layout breakage
This commit is contained in:
@@ -162,7 +162,13 @@ export default {
|
||||
line-height: 1.3;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-word;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
@@ -399,11 +405,13 @@ export default {
|
||||
.product-details-content {
|
||||
gap: 16px;
|
||||
align-items: flex-start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.product-name {
|
||||
font-size: 1.15rem;
|
||||
text-align: left;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
|
||||
Reference in New Issue
Block a user