Skip to content

Commit

Permalink
feat(gantt): update selectors to match updated rendering
Browse files Browse the repository at this point in the history
Important Changes:
- Changed `k-timeline` to `k-gantt-timeline`
- Changed `k-gantt-timeline` to `k-gantt-timeline-pane`
  • Loading branch information
inikolova authored and Juveniel committed Jan 10, 2024
1 parent 1fed249 commit 4efe6e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions packages/default/scss/gantt/_layout.scss
Expand Up @@ -291,9 +291,9 @@


// Timeline
.k-gantt-timeline {
.k-gantt-timeline-pane {

.k-timeline {
.k-gantt-timeline {
height: 100%;
border-width: 0;
display: flex;
Expand Down Expand Up @@ -772,7 +772,7 @@
}

.k-gantt,
.k-gantt-timeline,
.k-gantt-timeline-pane,
.k-gantt-dependencies {
width: auto !important; // stylelint-disable-line declaration-no-important
height: auto !important; // stylelint-disable-line declaration-no-important
Expand Down Expand Up @@ -817,7 +817,7 @@
margin-inline: -26px;
}

.k-gantt-timeline {
.k-gantt-timeline-pane {
.k-header {
border-width: 0 $kendo-grid-cell-vertical-border-width 1px 0;
}
Expand Down Expand Up @@ -877,7 +877,7 @@
margin-right: $kendo-gantt-rtl-milestone-planned-moment-margin-x;
}

.k-gantt-timeline .k-milestone-wrap .k-task-start {
.k-gantt-timeline-pane .k-milestone-wrap .k-task-start {
right: $kendo-gantt-rtl-milestone-dot-start-margin-x;
}

Expand Down
6 changes: 3 additions & 3 deletions packages/fluent/scss/gantt/_layout.scss
Expand Up @@ -288,9 +288,9 @@


// Timeline
.k-gantt-timeline {
.k-gantt-timeline-pane {

.k-timeline {
.k-gantt-timeline {
height: 100%;
border-width: 0;
display: flex;
Expand Down Expand Up @@ -770,7 +770,7 @@
}

.k-gantt,
.k-gantt-timeline,
.k-gantt-timeline-pane,
.k-gantt-dependencies {
width: auto !important; // stylelint-disable-line declaration-no-important
height: auto !important; // stylelint-disable-line declaration-no-important
Expand Down
2 changes: 1 addition & 1 deletion packages/material/scss/gantt/_layout.scss
Expand Up @@ -6,7 +6,7 @@
@include kendo-gantt--layout-base();

// Timeline
.k-gantt-timeline {
.k-gantt-timeline-pane {
.k-rtl & {

.k-header {
Expand Down
2 changes: 1 addition & 1 deletion packages/material/scss/gantt/_theme.scss
Expand Up @@ -6,7 +6,7 @@
@include kendo-gantt--theme-base();

// Timeline
.k-gantt-timeline {
.k-gantt-timeline-pane {

tbody > tr:not(:only-child) > .k-header {
border-left-color: $kendo-grid-border;
Expand Down

0 comments on commit 4efe6e5

Please sign in to comment.