Skip to content

Commit 64a3927

Browse files
committed
fix admin nav item row x overflow
1 parent be2ff87 commit 64a3927

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

resources/js/Pages/Admin/NavigationItems/NavigationItems.svelte

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
{#if navNode && navNode.children}
113113
<section use:dndzone={{
114114
items:navNode.children, flipDurationMs,
115-
centreDraggedOnCursor: true,
115+
centreDraggedOnCursor: true,
116116
dragDisabled: ! editing || updating || submitting,
117117
dropDisabled: ! editing || updating || submitting,
118118
}} onconsider={handleDndConsider} onfinalize={handleDndFinalize}>
@@ -127,16 +127,17 @@
127127

128128
<style>
129129
section {
130-
width: auto;
131130
border: 0px solid black;
132131
padding: 0.4em 0 0.4em 1em;
133132
overflow-y: auto ;
134133
height: auto;
134+
overflow-x: hidden;
135+
width: 100%;
135136
}
136137
article {
137138
width: auto;
138139
padding: 0.3em 0 0.3em 1em;
139140
border: 0px solid blue;
140141
margin: 0.15em 0;
141142
}
142-
</style>
143+
</style>

0 commit comments

Comments
 (0)