Commit f7a5a096 authored by Chunchi Che's avatar Chunchi Che

optimize MatCard

parent 7c5bc957
Pipeline #22873 passed with stages
in 13 minutes and 4 seconds
......@@ -23,7 +23,7 @@
position: absolute;
left: 0;
top: 0;
border-radius: 2px;
// border-radius: 2px; // 这里好像会导致卡片分辨率降低
overflow: hidden;
}
.cover {
......
......@@ -93,7 +93,6 @@ export const Card: React.FC<{ idx: number }> = React.memo(({ idx }) => {
register(Task.Focus, async () => {
setClassFocus(true);
setTimeout(() => setClassFocus(false), 1000); // TODO: 这儿为啥要这么写呢
await focus({ card, api });
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment