gpt4 book ai didi

html - angular2 sm-popup 边缘的语义 ui

转载 作者:太空宇宙 更新时间:2023-11-04 08:58:13 25 4
gpt4 key购买 nike

我正在使用 ngSemantic 开发 Angular2 元素。在某些地方,我使用了语义的弹出窗口(sm-popup)。默认情况下,边框周围总是有一个白色边距。我需要整个弹出窗口是相同的灰色,因此,希望白边距(或填充取决于你如何看待它)为 0。我搜索了两天,但不知道在哪里配置它。有没有人遇到过类似的问题?

最佳答案

将以下内容添加到您的 CSS 中:

.ui.popup { border: 0; padding: 0; }

或者您正在使用它的组件。

@Component({
...,
styles: ['.ui.popup { border: 0; padding: 0; }'],
...
})

关于html - angular2 sm-popup 边缘的语义 ui,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42962274/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com