feat(KB-227): allow viewing binary files as read-only in file browser
- Remove binary file restrictions from file service backend - Add visual read-only indicator for binary files in FileBrowserModal - Add CSS styles for binary file indicators - Update tests to expect binary files to be readable
This commit is contained in:
@@ -6560,6 +6560,17 @@ html .column.drag-over * {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.file-browser-binary-indicator {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
background: var(--bg-tertiary);
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.file-browser-loading {
|
||||
font-size: 11px;
|
||||
color: var(--todo);
|
||||
|
||||
Reference in New Issue
Block a user