Prechádzať zdrojové kódy

style: Fixed the issue where the timeline width is set to 100% and padding is set, causing the width to exceed the container

zhangyumei.0319 10 mesiacov pred
rodič
commit
cb51df3a80

+ 1 - 0
packages/semi-foundation/timeline/timeline.scss

@@ -7,6 +7,7 @@ $module: #{$prefix}-timeline;
     padding: $spacing-timeline-padding;
     width: $width-timeline;
     list-style: none;
+    box-sizing: border-box;
 
     &-item {
         position: relative;