What is the reason for the white background color on fixed columns?

What is the reason for the white background color on fixed columns?

sesplersespler Posts: 22Questions: 10Answers: 0

Just wondering what the justification is for the white background being set on the fixed columns view the fixed columns plugin.
Only asking because it is causing problems with our system's custom styles.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,940Questions: 1Answers: 10,755 Site admin

    If it is transparent, then the fixed column is see through and you see the other text sliding around under it! It is totally unusable without a solid background on the cells.

    It can be overridden in CSS, but I can look at making it a CSS variable if that would be useful?

    Allan

  • sesplersespler Posts: 22Questions: 10Answers: 0

    Yeah that would awesome actually!

  • allanallan Posts: 64,940Questions: 1Answers: 10,755 Site admin
    Answer ✓

    Change committed here. These are the three variables of interest:

    :root {
        --dtfc_background: white;
        --dtfc-thead-cell_background: var(--dtfc_background);
        --dtfc-tbody-cell_background: var(--dtfc_background);
    }
    

    If the header and footer are the same then you can just set --dtfc_background.

    This change will be in the nightly build shortly if you would like to give it a try before release.

    Allan

  • sesplersespler Posts: 22Questions: 10Answers: 0

    @allan You're a legend

Sign In or Register to comment.