In detail status view, display attachment uncropped if there's only one (#5054)
* In detail status view, display attachment uncropped if there's only one * Make media spoiler the size of the media it hides, enable on static
Showing
- app/javascript/mastodon/components/media_gallery.js 34 additions, 8 deletionsapp/javascript/mastodon/components/media_gallery.js
- app/javascript/mastodon/features/status/components/detailed_status.js 10 additions, 1 deletion...pt/mastodon/features/status/components/detailed_status.js
- app/javascript/styles/components.scss 7 additions, 0 deletionsapp/javascript/styles/components.scss
- app/views/stream_entries/_detailed_status.html.haml 1 addition, 1 deletionapp/views/stream_entries/_detailed_status.html.haml
- package.json 1 addition, 0 deletionspackage.json
- yarn.lock 18 additions, 0 deletionsyarn.lock
... | @@ -95,6 +95,7 @@ | ... | @@ -95,6 +95,7 @@ |
"react-router-dom": "^4.1.1", | "react-router-dom": "^4.1.1", | ||
"react-router-scroll": "ytase/react-router-scroll#build", | "react-router-scroll": "ytase/react-router-scroll#build", | ||
"react-simple-dropdown": "^3.0.0", | "react-simple-dropdown": "^3.0.0", | ||
"react-sizeme": "^2.3.5", | |||
"react-swipeable-views": "^0.12.3", | "react-swipeable-views": "^0.12.3", | ||
"react-textarea-autosize": "^5.0.7", | "react-textarea-autosize": "^5.0.7", | ||
"react-toggle": "^4.0.1", | "react-toggle": "^4.0.1", | ||
... | ... |
Please register or sign in to comment