(core) Add button for removing doc tours

Summary:
Document owners can now remove doc tours by pressing the button located
to the right of 'Tour of this Document' in the left panel.

Test Plan: Browser test.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3202
This commit is contained in:
George Gevoian
2022-01-03 18:20:58 -06:00
parent 89dc9334c3
commit 62a6190970
4 changed files with 55 additions and 41 deletions

View File

@@ -156,17 +156,18 @@ export const cssSpacer = styled('div', `
height: 18px;
`);
const cssSplitPageEntry = styled('div', `
export const cssSplitPageEntry = styled('div', `
display: flex;
align-items: center;
`);
const cssPageEntryMain = styled(cssPageEntry, `
export const cssPageEntryMain = styled(cssPageEntry, `
flex: auto;
margin: 0;
min-width: 0px;
`);
const cssPageEntrySmall = styled(cssPageEntry, `
export const cssPageEntrySmall = styled(cssPageEntry, `
flex: none;
border-radius: 3px;
--icon-color: ${colors.lightGreen};