Skip to content

Commit

Permalink
fix(scheduler): prevent overwriting ongoing event border
Browse files Browse the repository at this point in the history
  • Loading branch information
magdalenaan authored and Juveniel committed May 17, 2023
1 parent 95b165a commit a20f471
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions packages/default/scss/scheduler/_theme.scss
Expand Up @@ -125,12 +125,14 @@
);
@include box-shadow( $kendo-scheduler-event-selected-shadow );
}
}
.k-event-inverse {
color: k-contrast-legacy( $kendo-scheduler-event-text );
}
.k-event-ongoing {
@include box-shadow( $kendo-scheduler-event-ongoing-shadow );

&.k-event-inverse {
color: k-contrast-legacy( $kendo-scheduler-event-text );
}

&.k-event-ongoing {
@include box-shadow( $kendo-scheduler-event-ongoing-shadow );
}
}


Expand Down
10 changes: 5 additions & 5 deletions packages/fluent/scss/scheduler/_theme.scss
Expand Up @@ -128,17 +128,17 @@
);
@include box-shadow( var( --kendo-scheduler-event-selected-shadow, #{$kendo-scheduler-event-selected-shadow} ) );
}

&.k-event-ongoing {
@include box-shadow( var( --kendo-scheduler-event-ongoing-shadow, #{$kendo-scheduler-event-ongoing-shadow} ) );
}

}

// .k-event-inverse {
// color: k-contrast-legacy( $kendo-scheduler-event-text );
// }

.k-event-ongoing {
@include box-shadow( var( --kendo-scheduler-event-ongoing-shadow, #{$kendo-scheduler-event-ongoing-shadow} ) );
}


// Drag hint
.k-event-drag-hint {}

Expand Down

0 comments on commit a20f471

Please sign in to comment.