From c1fc9a9f8dc7a176c9827501573230634963ebdf Mon Sep 17 00:00:00 2001 From: Dan Wahlin Date: Sun, 29 Aug 2021 20:39:52 -0700 Subject: [PATCH] Tweak fonts and CSS --- package.json | 6 +----- src/view/App.css | 43 ++++++++++++++++++++++++++++-------------- src/view/ItemsList.tsx | 9 ++++++--- src/view/index.css | 4 ++++ 4 files changed, 40 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index cee10aa..210db90 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,9 @@ "version": "0.46.0", "description": "A simple brainstorming app built using Create React App plus a Fluid data model", "homepage": "https://fluidframework.com", - "repository": "microsoft/FluidExamples", + "repository": "danwahlin/LearnTogether-Brainstorm-App", "license": "MIT", "author": "Microsoft and contributors", - "sideEffects": false, - "main": "dist/index.js", - "module": "lib/index.js", - "types": "dist/index.d.ts", "scripts": { "build": "react-scripts build", "eject": "react-scripts eject", diff --git a/src/view/App.css b/src/view/App.css index 4bc385e..364b35a 100644 --- a/src/view/App.css +++ b/src/view/App.css @@ -71,29 +71,39 @@ header { margin-right: 15px; } -.mb-5 { - margin-bottom: 5px; +.ml-10 { + margin-left: 10px; +} + +.pb-5 { + padding-bottom: 5px; } .selected-items { + margin: 0 auto; + max-width: 960px; background-color: #efefef; } .selected-items h2 { - height: 15px; - background-color: #ccc; - margin-bottom: 0px; + height: 35px; + background-color: #919191; } .selected-items h2 div { margin-left: 10px; + color: white; +} + +.heading { + font-size: 20px; + margin-bottom: 2px; } .items-list ul { list-style-type: none; padding: 0; margin: 5px 0px 0px 10px; - font-size: 12px; padding-bottom: 2px; } @@ -101,18 +111,23 @@ header { margin-bottom: 5px; } -.icon-wrapper { - position: relative; - text-align: center; - height: 20px; - margin-right: 5px; -} - -.circle-icon { +.selecteditem { font-size: 18px; } +.icon-wrapper { + position: relative; + text-align: center; + height: 30px; + margin-right: 8px; +} + +.circle-icon { + font-size: 30px; +} + .circle-icon-overlay { + font-size: 18px; position: absolute; top: 50%; left: 50%; diff --git a/src/view/ItemsList.tsx b/src/view/ItemsList.tsx index 425da82..50e0104 100644 --- a/src/view/ItemsList.tsx +++ b/src/view/ItemsList.tsx @@ -29,8 +29,8 @@ export function ItemsList(props: ItemsListProps) {

-
Selected Items
-
Votes
+
Selected Items
+
Votes

{!!notes.length &&