Skip to content

Commit

Permalink
Merge pull request #449 from gwu-libraries/t418-inline-formatting
Browse files Browse the repository at this point in the history
t418 Featured publication inline styles
  • Loading branch information
maxturer authored Nov 9, 2023
2 parents 2f1eef7 + 22ac8b1 commit 09c6457
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions app/assets/stylesheets/scholarspace/components/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,15 @@
}
}

#publication-content h2 {
display: flex;
align-items: center;
#publication-content {
h2 {
display: flex;
align-items: center;
}

img.featured {
margin: 0px 10px 10px 0px;
}
}

//misc bootstrap overwrite
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/content_blocks/featured_researcher.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h2><img style="margin: 0px 10px 10px 0px;" src="https://scholarspace.library.gwu.edu/gwur.png" alt="GW Undergraduate Review" />The George Washington University ​Undergraduate Review</h2>
<h2><img class="featured" src="https://scholarspace.library.gwu.edu/gwur.png" alt="GW Undergraduate Review" />The George Washington University ​Undergraduate Review</h2>
<p>Established in 2016, the GW Undergraduate Review (GWUR) is the premier publication of research from undergraduate students at George Washington University. Its mission is to promote undergraduate research on GW&rsquo;s campus through events, workshops, and the annual publication of a peer-reviewed journal. GWUR is entirely student-run and is supported by the Office of the Vice Provost for Research and GW Libraries and Academic Innovation.</p>
<p><a class="gw-btn" href="https://scholarspace.library.gwu.edu/collections/rb68xc712?locale=en">Browse all content from GWUR</a></p>

0 comments on commit 09c6457

Please sign in to comment.