didiaodeking commited on
Commit
3750505
·
verified ·
1 Parent(s): ac3c1db

点击加号后,弹出菜单向右展开

Browse files
Files changed (1) hide show
  1. 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 right-0 mt-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">
 
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">