fix(ui) - replay navigation, autoplay alignment
This commit is contained in:
parent
6fe8eba32b
commit
e1f435e858
3 changed files with 11 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ function Autoplay(props) {
|
|||
name="sessionsLive"
|
||||
onChange={ props.toggleAutoplay }
|
||||
checked={ autoplay }
|
||||
style={{ margin: '0 10px' }}
|
||||
style={{ margin: '0px 10px 0px 12px'}}
|
||||
/>
|
||||
}
|
||||
tooltip={'Autoplay'}
|
||||
|
|
|
|||
|
|
@ -55,11 +55,13 @@ export default class PlayerBlockHeader extends React.PureComponent {
|
|||
|
||||
backHandler = () => {
|
||||
const { history, siteId, funnelPage } = this.props;
|
||||
if (funnelPage) {
|
||||
if (funnelPage.get('issueId')) {
|
||||
history.push(withSiteId(funnelIssueRoute(funnelPage.get('funnelId'), funnelPage.get('issueId')), siteId))
|
||||
const funnelId = funnelPage && funnelPage.get('funnelId');
|
||||
const issueId = funnelPage && funnelPage.get('issueId');
|
||||
if (funnelId || issueId) {
|
||||
if (issueId) {
|
||||
history.push(withSiteId(funnelIssueRoute(funnelId, issueId), siteId))
|
||||
} else
|
||||
history.push(withSiteId(funnelRoute(funnelPage.get('funnelId')), siteId));
|
||||
history.push(withSiteId(funnelRoute(funnelId), siteId));
|
||||
} else
|
||||
history.push(withSiteId(SESSIONS_ROUTE), siteId);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,4 +309,8 @@
|
|||
|
||||
a:hover {
|
||||
color: $teal;
|
||||
}
|
||||
|
||||
.ui.toggle.checkbox {
|
||||
min-height: 20px !important;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue