Skip to content

Commit

Permalink
Fix section item view
Browse files Browse the repository at this point in the history
Do not show transition before first item. Fix position of indicators.
  • Loading branch information
tf committed Jun 20, 2024
1 parent 853c3e0 commit f7ea347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import styles from './SectionItemView.module.css';

export const SectionItemView = Marionette.ItemView.extend({
tagName: 'li',
className: `${styles.root}`,
className: `${styles.root} ${styles.withTransition}`,

mixins: [modelLifecycleTrackingView({classNames: styles})],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
position: relative;
}

.withTransition {
composes: sectionWithTransition from './outline.module.css';
}

.outline {
position: relative;
border: solid selectionWidth transparent;
border-radius: rounded();
padding: 1px;
Expand Down

0 comments on commit f7ea347

Please sign in to comment.