From 97f3a8805c95faec32891fcc2953abe6c331d45c Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Thu, 28 Apr 2022 17:47:02 -0400 Subject: [PATCH] (core) List 'Other Sites' all one line; fix style ordering issue for sort button. Test Plan: Tested manually by eyeballing Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3407 --- app/client/ui/DocMenuCss.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/client/ui/DocMenuCss.ts b/app/client/ui/DocMenuCss.ts index affdb214..ffed90f0 100644 --- a/app/client/ui/DocMenuCss.ts +++ b/app/client/ui/DocMenuCss.ts @@ -4,6 +4,10 @@ import {icon} from 'app/client/ui2018/icons'; import {styled} from 'grainjs'; import {bigBasicButton} from 'app/client/ui2018/buttons'; +// Import popweasel to ensure that sortSelector style below comes later in CSS than popweasel +// styles, which gives it priority. +import 'popweasel'; + // The "&:after" clause forces some padding below all docs. export const docList = styled('div', ` height: 100%; @@ -68,7 +72,7 @@ export const otherSitesBlock = styled('div', ` export const otherSitesButtons = styled('div', ` display: flex; - flex-wrap: wrap; + overflow: auto; padding-bottom: 16px; margin-top: 16px; margin-bottom: 28px;