FE item width, scroll removed

pull/4141/head
lianahus 1 year ago
parent db9480d43e
commit 868e77210f
  1. 4
      libs/remix-ui/workspace/src/lib/components/file-label.tsx
  2. 6
      libs/remix-ui/workspace/src/lib/css/file-explorer.css
  3. 2
      libs/remix-ui/workspace/src/lib/css/remix-ui-workspace.css

@ -67,14 +67,14 @@ export const FileLabel = (props: FileLabelProps) => {
return (
<div
className="remixui_items d-inline-block w-100 text-break"
className="remixui_items d-inline-block w-100"
ref={isEditable ? labelRef : null}
suppressContentEditableWarning={true}
contentEditable={isEditable}
onKeyDown={handleEditInput}
onBlur={handleEditBlur}
>
<span className={`text-nowrap remixui_label ${fileStateClasses} ` + (file.isDirectory ? 'folder' : 'remixui_leaf')} data-path={file.path}>
<span className={`remixui_label ${fileStateClasses} ` + (file.isDirectory ? 'folder' : 'remixui_leaf')} data-path={file.path}>
{file.name}
</span>
</div>

@ -33,7 +33,11 @@ input[type="file"] {
margin-left : 20px;
}
.remixui_items {
display : inline
display : inline;
white-space : nowrap;
overflow : hidden;
text-overflow : ellipsis;
max-width : 90%;
}
.remixui_remove {
margin-left : auto;

@ -40,7 +40,7 @@
cursor : pointer;
}
.remixui_treeview {
overflow-y : auto;
overflow-x : hidden;
}
.remixui_dialog {
display: flex;

Loading…
Cancel
Save