You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
页面使用我一般不太想写到公用的css文件里,只想让样式跟随页面,各不干扰
但我像这样使用*.razor.css里的样式时,即使我使用::deep和!important,它也没法对组件包的MultiHeaderTemplate内的th产生影响,它依旧没有居中
为了让代码看上去不那么臃肿,我自然也不太希望每列都贴入相同的style属性和子元素的style属性
目前一直是使用<style>的方式应付着,但这其实不是那么好,不知道有没有更好的处理方法
以下是我的项目片段
Beta Was this translation helpful? Give feedback.
All reactions