Skip to content

Commit

Permalink
adding bynder class
Browse files Browse the repository at this point in the history
  • Loading branch information
webknit committed Oct 2, 2023
1 parent 04db5b0 commit 202fda7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Logo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function Logo(props: any) {
typeof LogoPath === "string" ? (
<img src={props.url} alt={props.alt} className="logo__image" />
) : (
<span className="logo__image">
<span className="logo__image bynder">
<LogoPath />
</span>
);
Expand Down
11 changes: 8 additions & 3 deletions lib/Logo/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Config
========================================================================== */
$logo-max-height: 40px !default;
$logo-max-width: 40px !default;
$logo-max-width: 150px !default;

/* ==========================================================================
Styles
Expand All @@ -11,7 +11,12 @@ $logo-max-width: 40px !default;
max-width: $logo-max-width;
max-height: $logo-max-height;

svg {
border-radius: 8px;
&.bynder {
max-width: 40px;

svg {
border-radius: 8px;
}
}

}

0 comments on commit 202fda7

Please sign in to comment.