mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
type: remove type assertions (#49859)
* typo fix Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com> * typo fix Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com> * type: Remove type assertions * fix: Correct CSS property order and media feature notation --------- Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
This commit is contained in:
parent
fc56192643
commit
d540893dd0
@ -69,7 +69,7 @@ export const InternalBreadcrumbItem: React.FC<BreadcrumbItemProps> = (props) =>
|
|||||||
return {
|
return {
|
||||||
...itemProps,
|
...itemProps,
|
||||||
key: key ?? index,
|
key: key ?? index,
|
||||||
label: mergedLabel as string,
|
label: mergedLabel,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
@ -25,16 +25,16 @@
|
|||||||
/* Table Styles */
|
/* Table Styles */
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-bottom: 1px solid #ddd;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
td img {
|
td img {
|
||||||
@ -60,7 +60,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Responsive Table */
|
/* Responsive Table */
|
||||||
@media screen and (max-width: 600px) and (min-width: 1px) {
|
@media screen and (1px <= width <= 600px) {
|
||||||
table {
|
table {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
@ -112,4 +112,4 @@
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user