Skip to content

Commit

Permalink
Removed CSS positioning for image, removed local class selectors, rem…
Browse files Browse the repository at this point in the history
…oved unnecessary button styling.
  • Loading branch information
chth0n1x committed Jul 25, 2023
1 parent 43f6409 commit 1b20d6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions lib/osf-components/addon/components/search-page/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
padding-bottom: 0;

img {
display: block;
margin: 0 auto;
max-height: 65px;
}

Expand Down Expand Up @@ -96,10 +94,6 @@
}
}

.heading-wrapper-institutions-mobile + button {
width: 100%;
}

.heading-label {
padding: 40px;
}
Expand Down
2 changes: 0 additions & 2 deletions lib/osf-components/addon/components/search-page/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@ as |layout|>
{{#if this.showSidePanelToggle}}
<img
data-test-institution-logo
local-class='logo-img'
src={{@institution.assets.logo}}
alt={{concat (t 'search.institutions.institution-logo') @institution.name}}
>
{{else}}
<img
data-test-institution-banner
local-class='logo-img'
src={{@institution.assets.banner}}
alt={{concat (t 'search.institutions.institution-logo') @institution.name}}
>
Expand Down

0 comments on commit 1b20d6a

Please sign in to comment.