Non-released bug: Fix dropdown by fixing icon styling (#8522)

This commit is contained in:
RachelElysia 2022-11-01 12:51:05 -04:00 committed by GitHub
parent 70524b6e3a
commit 1aaee2b5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 7 deletions

View file

@ -29,7 +29,7 @@ const BackLink = ({ text, path, className }: IBackLinkProps): JSX.Element => {
direction="left"
color="coreVibrantBlue"
/>
{text}
<span>{text}</span>
</>
</Link>
);

View file

@ -1,4 +1,7 @@
.back-link {
display: flex;
align-items: center;
&__back-icon {
padding-right: $pad-small;
display: inline;

View file

@ -1,5 +1,5 @@
.icon {
// only style that aligns properly whether in text
display: inline;
vertical-align: middle;
// keeps this element the same size as the svg
// aligns properly in text, buttons, dropdowns, summary tile custom component
display: inline-flex;
}

View file

@ -3,9 +3,9 @@ import React from "react";
const CalendarCheck = () => {
return (
<svg
width="14"
height="14"
viewBox="0 0 14 14"
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>