(core) Fix scrolling in Raw Data page, and tweak background of selection-summary in Raw Data tables to look better

Test Plan: Tested manually, doesn't seem worth a dedicated test.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3653
This commit is contained in:
Dmitry S
2022-10-05 10:59:39 -04:00
parent 74c556ea85
commit d3d50cdca8
2 changed files with 18 additions and 17 deletions

View File

@@ -276,8 +276,6 @@ const cssSummary = styled('div', `
width: 100%;
justify-content: end;
color: ${theme.text};
/* Small hack: override the backdrop when viewing raw data to improve visibility. */
background-color: ${theme.mainPanelBg};
font-family: ${vars.fontFamilyData};
@media print {
@@ -300,6 +298,8 @@ const cssSummaryPart = styled('div', `
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
/* Set explicit backdrop to improve visibility in raw data views. */
background-color: ${theme.mainPanelBg};
&-copyable:hover {
cursor: pointer;