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:
柚子 2024-07-14 18:31:13 +08:00 committed by GitHub
parent fc56192643
commit d540893dd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,7 @@ export const InternalBreadcrumbItem: React.FC<BreadcrumbItemProps> = (props) =>
return {
...itemProps,
key: key ?? index,
label: mergedLabel as string,
label: mergedLabel,
};
}),
};

View File

@ -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>