Skip to content

Commit

Permalink
Fix issue with sticky header on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Jul 23, 2019
1 parent eee69d1 commit 6db1a2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion indico/modules/rb/client/js/modules/calendar/Calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class Calendar extends React.Component {
return (
<Grid>
<Grid.Row>
<Container>
<Container styleName="container">
<div ref={this.contextRef}>
<StickyWithScrollBack context={this.contextRef.current} responsive>
<Grid.Row styleName="calendar-filters">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@

@import 'rb:styles/responsive';

:global(.ui.container).container {
@media (max-width: $tablet-width) {
width: $tablet-width !important;
}
}

.calendar-filters {
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit 6db1a2a

Please sign in to comment.