Ze-Zheng Wu

Results 75 comments of Ze-Zheng Wu

这样做好像 html 和 body 标签下的样式无法指定,主要影响的是 font,antd 的会被全局样式所覆盖。不过如果这点不重要的话,其他样式看起来的都是没什么问题的,感谢提供的方案。 多说一句,antd 4.7.0 里面不再是 base.less 设定全局样式,所有的全局样式都移动到了 global.less 这个文件里,base.less 已经限定了作用域,所以如果要改写 antd.less 的话,需要改成如下内容: ```less @import '~antd/lib/style/themes/index.less'; @import '~antd/lib/style/mixins/index.less'; *[class*='ant-'] { @import '~antd/lib/style/core/global.less'; } @import '~antd/lib/style/core/base.less'; @import...

I have a bunch of true-break videos, actually a season with many episodes, of which the black screen transitions are inconsistent with the subs, wonder how I can help?

I'm facing the same problem. Creating a `Book` instance and reading metadata from a file shouldn't have anything to do with UI. Is there a way to use these functionalities...

> Ok, not to turn this into a blog but I recently started messing with Zustand (@funwithtriangles it's pretty neat!) and here's what I've done so far to get state...

BTW, I want to bring up several more possible caveats someone might find helpful when using Leva's controlled inputs: ### 1. Leva's controlled inputs aren't the same as controlled components...

> Wait so order of insertion is only messed up when keys are a mix of strings an numbers? Well, yes, but in my case I need to define my...

And it seems impossible to manually reorder the keys using object literals, even with only numbers or strings: ``` console.log(Object.keys({ "1": 1, "0": 0 })) ``` output: ``` [ '0',...

> Why don't you use arrays then? Just for formatting (1,000)? This is a really niche use case to be calling the feature "kind of a no go" :) Arrays...

> I don't understand. How is that not working? > > My bad, I apologize. I took it for granted and wasn't testing. I take back my words regarding the...

> No worries, this can still be considered as a valid concern in some situations so I'll leave this open. Thanks. Hope I don't bother you, I'd love to describe...