mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
feat: Install prettier and improve formatting
This commit is contained in:
@@ -2878,8 +2878,8 @@ const TimelineControls = ({
|
||||
isPlayingSegments
|
||||
? "Disabled during preview"
|
||||
: isPlaying
|
||||
? "Pause playback"
|
||||
: "Play from current position"
|
||||
? "Pause playback"
|
||||
: "Play from current position"
|
||||
}
|
||||
style={{
|
||||
userSelect: "none",
|
||||
@@ -3142,8 +3142,8 @@ const TimelineControls = ({
|
||||
isPlayingSegments
|
||||
? "Disabled during preview"
|
||||
: availableSegmentDuration < 0.5
|
||||
? "Not enough space for new segment"
|
||||
: "Create new segment"
|
||||
? "Not enough space for new segment"
|
||||
: "Create new segment"
|
||||
}
|
||||
disabled={availableSegmentDuration < 0.5 || isPlayingSegments}
|
||||
onClick={async (e) => {
|
||||
@@ -3735,8 +3735,8 @@ const TimelineControls = ({
|
||||
isPlayingSegments
|
||||
? "Disabled during preview"
|
||||
: isPlaying
|
||||
? "Pause playback"
|
||||
: "Play from here until next segment"
|
||||
? "Pause playback"
|
||||
: "Play from here until next segment"
|
||||
}
|
||||
style={{
|
||||
userSelect: "none",
|
||||
|
||||
@@ -612,7 +612,9 @@
|
||||
white-space: nowrap;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s, visibility 0.2s;
|
||||
transition:
|
||||
opacity 0.2s,
|
||||
visibility 0.2s;
|
||||
z-index: 1000;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -628,7 +630,9 @@
|
||||
border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s, visibility 0.2s;
|
||||
transition:
|
||||
opacity 0.2s,
|
||||
visibility 0.2s;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user