{collectionOptions.locks.map.filter(c => c.entry === 'checkbox').map(({key}) =>
@@ -67,7 +66,7 @@ function CollectionButton({id, dense, exposed}) {
{checkboxUpdating === key
?
:
+ style={{color: isChecked(key) ? '#18aa18' : undefined, padding: iconPadding}}>
{listIcons[key]}
}
diff --git a/src/entries/RecordingControls.jsx b/src/entries/RecordingControls.jsx
index 458ef873d3..4dba71d52e 100644
--- a/src/entries/RecordingControls.jsx
+++ b/src/entries/RecordingControls.jsx
@@ -15,12 +15,14 @@ import CardContent from '@mui/material/CardContent'
import HighlightOffIcon from '@mui/icons-material/HighlightOff'
import ScoringContext from '../context/ScoringContext.jsx'
import VideocamOutlinedIcon from '@mui/icons-material/VideocamOutlined'
+import useWindowSize from '../util/useWindowSize.jsx'
function RecordingControls({lockId, dense}) {
const {isLoggedIn} = useContext(AuthContext)
const [editRecId, setEditRecId] = useState(null)
const {scoredActivity} = useContext(ScoringContext)
+ const {isMobile} = useWindowSize()
const recordings = scoredActivity
.filter(evid => evid.matchId === lockId)
@@ -53,8 +55,8 @@ function RecordingControls({lockId, dense}) {
{index === 0 &&
handleOverlayOpen(rec.id)}
- style={{color: '#18aa18', padding:4}}>
-
+ style={{color: '#18aa18', padding: isMobile ? 5 : 7}}>
+
}
@@ -95,9 +97,63 @@ function RecordingControls({lockId, dense}) {
}
+ {editRecId === rec.id &&
+
theme.zIndex.drawer + 1}}
+ open={editRecId === rec.id} onClick={null}
+ >
+
+ }
+ style={{paddingBottom: 0}} onClick={handleOverlayClose}/>
+
+
+
+
+
+ }
+
+ )
+
+ }).concat([
+ recordings.length === 0 &&
+