mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
refactor(table): virtualise tables for perf for EditableTable components (#7810)
This commit is contained in:
@@ -38,6 +38,14 @@ const Wrapper = styled.div`
|
||||
}
|
||||
}
|
||||
|
||||
.bulk-edit-bar {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
background: ${(props) => props.theme.bg};
|
||||
padding-top: 8px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
input[type='text'] {
|
||||
width: 100%;
|
||||
border: solid 1px transparent;
|
||||
|
||||
@@ -160,7 +160,7 @@ const QueryParams = ({ item, collection }) => {
|
||||
columnWidths={queryParamsWidths}
|
||||
onColumnWidthsChange={(widths) => handleColumnWidthsChange('query-params', widths)}
|
||||
/>
|
||||
<div className="flex justify-end mt-2">
|
||||
<div className="bulk-edit-bar flex justify-end mt-2">
|
||||
<button className="btn-action text-link select-none" onClick={toggleBulkEditMode}>
|
||||
Bulk Edit
|
||||
</button>
|
||||
|
||||
@@ -29,6 +29,14 @@ const Wrapper = styled.div`
|
||||
}
|
||||
}
|
||||
|
||||
.bulk-edit-bar {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
background: ${(props) => props.theme.bg};
|
||||
padding-top: 8px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
input[type='text'] {
|
||||
width: 100%;
|
||||
border: solid 1px transparent;
|
||||
|
||||
@@ -145,7 +145,7 @@ const RequestHeaders = ({ item, collection, addHeaderText }) => {
|
||||
columnWidths={headersWidths}
|
||||
onColumnWidthsChange={(widths) => handleColumnWidthsChange('request-headers', widths)}
|
||||
/>
|
||||
<div className="flex justify-end mt-2">
|
||||
<div className="bulk-edit-bar flex justify-end mt-2">
|
||||
<button className="btn-action text-link select-none" onClick={toggleBulkEditMode}>
|
||||
Bulk Edit
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user