Skip to content

Commit

Permalink
Merge pull request #140 from RENCI/#136-Drag-layer-models
Browse files Browse the repository at this point in the history
#136 drag layer models
  • Loading branch information
PhillipsOwen authored Aug 5, 2024
2 parents be3b8a0 + 5b727e0 commit fe9b350
Show file tree
Hide file tree
Showing 6 changed files with 336 additions and 107 deletions.
112 changes: 112 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"mapbox-gl": "^3.1.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0",
"react-draggable": "^4.4.6",
"react-leaflet": "^4.2.1",
Expand Down
4 changes: 2 additions & 2 deletions src/components/sidebar/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const Tray = ({ active, Contents, title, closeHandler }) => {
width: TRAY_WIDTH,
zIndex: 410,
filter: 'drop-shadow(0 0 8px rgba(0, 0, 0, 0.2))',
overflowX: 'hidden',
overflowY: 'auto',
overflow: 'hidden',
// overflowY: 'auto',
display: 'flex',
flexDirection: 'column',
".tray-header": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/trays/layers/delete-layer-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DeleteModelRunButton = ({ groupId }) => {
sx={{
alignContent: 'right',
m: 1,
'filter': 'opacity(0.3)',
'filter': 'opacity(0.5)',
transition: 'filter 250ms',
'&:hover': {
'filter': 'opacity(1.0)',
Expand Down
Loading

0 comments on commit fe9b350

Please sign in to comment.