mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
04c4f0a203
New context menu options are available in the directory preview to create and rename files and directories It's missing three pieces of functionality, none of which are a regression: - Editing or creating an entry does not update the focused index. Focus index right now is pretty dumb, it doesn't factor in the column sorting so if you change that, the selected item will change to whatever is now at that index. We should update this so we use the actual file name to determine which element to focus and let the table determine which index to then highlight given the current sorting algo - Open in native preview should not be an option on remote connections with the exception of WSL, where it should resolve the file in the Windows filesystem, rather than the WSL one - We should catch CRUD errors in the dir preview and display a popup
17 lines
398 B
SCSS
17 lines
398 B
SCSS
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
.popover-content {
|
|
min-width: 100px;
|
|
min-height: 150px;
|
|
position: absolute;
|
|
z-index: 1000; // TODO: put this in theme.scss
|
|
display: flex;
|
|
padding: 2px;
|
|
gap: 1px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
background: #212121;
|
|
box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.3);
|
|
}
|