From db6b456467a0208cc902b7b3ffa29c2cfc7de27e Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Fri, 3 Feb 2023 16:33:04 -0800 Subject: [PATCH] Replace navigation arrow with chevron See #5 --- settings/src/script.js | 4 ++-- settings/src/style.scss | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/settings/src/script.js b/settings/src/script.js index 667d7084..438c9d3c 100644 --- a/settings/src/script.js +++ b/settings/src/script.js @@ -2,7 +2,7 @@ * WordPress dependencies */ import { StrictMode, createContext, useCallback, useEffect, useState } from '@wordpress/element'; -import { Icon, arrowLeft } from '@wordpress/icons'; +import { Icon, chevronLeft } from '@wordpress/icons'; import { Card, CardHeader, CardBody, Flex, Spinner } from '@wordpress/components'; /** @@ -133,7 +133,7 @@ function Main( { userId } ) { screen="account-status" anchorText={ <> - + Back } diff --git a/settings/src/style.scss b/settings/src/style.scss index 58809475..c4199ea0 100644 --- a/settings/src/style.scss +++ b/settings/src/style.scss @@ -15,12 +15,14 @@ a { position: relative; top: -4px; + color: #4ca6cf; } svg { position: relative; top: 7px; - margin-right: 3px; + margin-right: -3px; + fill: #4ca6cf; } h3 {