点击加号后,弹出菜单向右展开
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -128,11 +128,11 @@
|
|
| 128 |
<button class="p-1 hover:bg-gray-300 rounded">
|
| 129 |
<i data-feather="plus"></i>
|
| 130 |
</button>
|
| 131 |
-
<div class="hidden group-hover:block absolute bg-white shadow-lg z-10 w-48
|
| 132 |
<button id="newFolderBtn" class="block w-full text-left px-4 py-1 hover:bg-blue-100">New Folder</button>
|
| 133 |
<button id="newFileBtn" class="block w-full text-left px-4 py-1 hover:bg-blue-100">New File</button>
|
| 134 |
</div>
|
| 135 |
-
|
| 136 |
</div>
|
| 137 |
<!-- Address Bar -->
|
| 138 |
<div class="flex-1 mx-4 bg-white rounded border border-gray-300 px-2 py-1 text-sm">
|
|
|
|
| 128 |
<button class="p-1 hover:bg-gray-300 rounded">
|
| 129 |
<i data-feather="plus"></i>
|
| 130 |
</button>
|
| 131 |
+
<div class="hidden group-hover:block absolute bg-white shadow-lg z-10 w-48 left-full top-0 ml-1">
|
| 132 |
<button id="newFolderBtn" class="block w-full text-left px-4 py-1 hover:bg-blue-100">New Folder</button>
|
| 133 |
<button id="newFileBtn" class="block w-full text-left px-4 py-1 hover:bg-blue-100">New File</button>
|
| 134 |
</div>
|
| 135 |
+
</div>
|
| 136 |
</div>
|
| 137 |
<!-- Address Bar -->
|
| 138 |
<div class="flex-1 mx-4 bg-white rounded border border-gray-300 px-2 py-1 text-sm">
|