mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +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 {
|
||||
...itemProps,
|
||||
key: key ?? index,
|
||||
label: mergedLabel as string,
|
||||
label: mergedLabel,
|
||||
};
|
||||
}),
|
||||
};
|
||||
|
@ -25,16 +25,16 @@
|
||||
/* Table Styles */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ddd;
|
||||
vertical-align: top;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
td img {
|
||||
@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
/* Responsive Table */
|
||||
@media screen and (max-width: 600px) and (min-width: 1px) {
|
||||
@media screen and (1px <= width <= 600px) {
|
||||
table {
|
||||
border: 0;
|
||||
}
|
||||
@ -112,4 +112,4 @@
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user