style : update style

This commit is contained in:
lukman
2024-09-26 15:25:25 +08:00
parent 17e737ed24
commit 654796dab7
7 changed files with 70 additions and 63 deletions

View File

@@ -526,19 +526,15 @@ export default function NavbarDocumentDivision() {
>
{dataJalur.slice(0, 3).map((v, i) => {
return (
<Box p={5}>
<Text
onClick={() => router.push("?path=" + v.id)}
key={i}
style={{
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
maxWidth: "100%",
}}
truncate={"end"}
truncate="end"
>
{v.name}
</Text>
</Box>
);
})}
{dataJalur.length > 3 && (
@@ -575,13 +571,15 @@ export default function NavbarDocumentDivision() {
>
{dataJalur.slice(0, 4).map((v, i) => {
return (
<Text
onClick={() => router.push("?path=" + v.id)}
key={i}
truncate="end"
>
{v.name}
</Text>
<Box p={5}>
<Text
onClick={() => router.push("?path=" + v.id)}
key={i}
truncate="end"
>
{v.name}
</Text>
</Box>
);
})}
{dataJalur.length > 4 && (