Browse Source

fix:优化产品页面样式,调整tab布局和滚动条样式

master
peijunlei 3 weeks ago
parent
commit
75eec0f96b
  1. 6
      public/themes/dist_static/static/css/product.css

6
public/themes/dist_static/static/css/product.css

@ -435,8 +435,12 @@ body.is-p-subnav .site-header {
justify-content: center;
gap: 5rem;
border: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.p-spec__tab {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
@ -463,7 +467,6 @@ body.is-p-subnav .site-header {
}
.p-spec__tab-media {
width: 7.5rem;
height: 7.5rem;
display: flex;
align-items: center;
justify-content: center;
@ -471,7 +474,6 @@ body.is-p-subnav .site-header {
}
.p-spec__tab-media img {
width: auto;
max-width: 5rem;
display: block;
}
.p-spec__tab-name {

Loading…
Cancel
Save