[英]String interpolation in Styled components breaks linter
在樣式化組件中插入“主題”變量或任何類型的字符串插入會破壞 linter 流程,我可以再格式化 css。 關於如何解決它的任何想法? linter 打破了格式化的界限,這會產生問題。
謝謝
@media only screen and (min-device-width: 320px) and (max-device-height: 700px) and (orientation: portrait) {
.innerModal {
.modalContentContainer {
min-height: 270px;
width: 100%;
grid-template-rows: 0.1fr 1fr 0.5fr 1fr;
padding: ${({ theme }) => theme.spacing.m} ${({ theme }) =>
主題.spacing.xs};
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.