Skip to content

Commit b36d5ec

Browse files
committed
Merge pull request #39 from cemc/highlightfixing
fix precedence issue with line highlighting
2 parents 871b320 + c8341e1 commit b36d5ec

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎v3/css/pytutor.css‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,14 +696,15 @@ div.ExecutionVisualizer div#vizHeader {
696696
max-width: 700px;
697697
}
698698

699-
div.ExecutionVisualizer .highlight-curr {
700-
background-color: #FFFF66;
701-
}
702-
699+
/* prev then curr, so curr gets precedence when both apply */
703700
div.ExecutionVisualizer .highlight-prev {
704701
background-color: #F0F0EA;
705702
}
706703

704+
div.ExecutionVisualizer .highlight-curr {
705+
background-color: #FFFF66;
706+
}
707+
707708
div.ExecutionVisualizer .highlight-legend {
708709
padding: 2px;
709710
}

0 commit comments

Comments
 (0)