@co0ontty/wand 1.2.0 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2042,6 +2042,10 @@
2042
2042
  position: relative;
2043
2043
  flex-shrink: 0;
2044
2044
  }
2045
+ /* Desktop: expanded row is always hidden (mobile only) */
2046
+ .inline-shortcuts-expanded-row {
2047
+ display: none;
2048
+ }
2045
2049
  .shortcuts-toggle {
2046
2050
  display: none;
2047
2051
  }
@@ -5128,14 +5132,18 @@
5128
5132
  display: none;
5129
5133
  }
5130
5134
 
5131
- /* 移动端内联快捷键 - 折叠为左右滑动条 */
5135
+ /* 移动端内联快捷键 - 折叠为展开按钮,展开到独立第二行 */
5132
5136
  .inline-shortcuts-inline {
5133
5137
  display: none;
5134
5138
  }
5135
5139
  .inline-shortcuts-wrap {
5136
- flex-shrink: 1;
5137
- min-width: 0;
5138
- overflow: hidden;
5140
+ display: flex;
5141
+ align-items: center;
5142
+ flex-shrink: 0;
5143
+ }
5144
+ /* 移动端: strip 永远不显示,展开由独立的 expanded-row 承载 */
5145
+ .inline-shortcuts-strip {
5146
+ display: none !important;
5139
5147
  }
5140
5148
  .shortcuts-toggle {
5141
5149
  display: inline-flex;
@@ -5158,30 +5166,31 @@
5158
5166
  .shortcuts-toggle.active {
5159
5167
  color: var(--accent);
5160
5168
  }
5161
- .inline-shortcuts-strip {
5169
+ /* 独立第二行:默认隐藏 */
5170
+ .inline-shortcuts-expanded-row {
5162
5171
  display: none;
5163
- overflow-x: auto;
5164
- -webkit-overflow-scrolling: touch;
5165
- scrollbar-width: none;
5166
- align-items: center;
5172
+ }
5173
+ /* 独立第二行:展开时显示,居中、自动换行 */
5174
+ .inline-shortcuts-expanded-row.visible {
5175
+ display: flex;
5176
+ justify-content: center;
5177
+ align-items: flex-start;
5178
+ align-content: flex-start;
5179
+ flex-wrap: wrap;
5167
5180
  gap: 3px;
5168
- flex: 1;
5169
- min-width: 0;
5181
+ padding: 4px 6px;
5170
5182
  }
5171
- .inline-shortcuts-strip::-webkit-scrollbar {
5183
+ .inline-shortcuts-expanded-row .shortcut-sep {
5172
5184
  display: none;
5173
5185
  }
5174
- .inline-shortcuts-wrap.expanded .inline-shortcuts-strip {
5175
- display: flex;
5176
- }
5177
- .inline-shortcuts-strip .shortcut-key {
5186
+ .inline-shortcuts-expanded-row .shortcut-key {
5178
5187
  height: 22px;
5179
5188
  min-width: 22px;
5180
5189
  font-size: 0.5625rem;
5181
5190
  padding: 0 4px;
5182
- flex-shrink: 0;
5191
+ flex: 0 0 auto;
5183
5192
  }
5184
- .inline-shortcuts-strip .shortcut-key.shortcut-dir {
5193
+ .inline-shortcuts-expanded-row .shortcut-key.shortcut-dir {
5185
5194
  min-width: 20px;
5186
5195
  }
5187
5196
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@co0ontty/wand",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
4
4
  "description": "A web terminal for local CLI tools like Claude.",
5
5
  "type": "module",
6
6
  "bin": {