Skip to content

如何自定义对齐线样式? #2250

Answered by xiazhaohui
xiazhaohui asked this question in Q&A
Discussion options

You must be logged in to vote

找到样式了,自定义类名下边的x6-widget-snapline-horizontal 和x6-widget-snapline-vertical ,修改border-bottom的颜色即可。

.ma-custom-snapline {
  .x6-widget-snapline-horizontal {
    border-bottom: 1px solid #4370FE;
  }
  .x6-widget-snapline-vertical {
    border-right: 1px solid #4370FE;
  }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nanfb
Comment options

@caisama
Comment options

Answer selected by NewByVector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants