Skip to content

Commit

Permalink
Add whitespace around submission buttons on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-dce committed Sep 24, 2024
1 parent 37b9078 commit a37fc44
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions app/assets/stylesheets/emory/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@
}
}

.submit-my-etd {
margin: 2em;
.submit-buttons {
margin: 2rem;
}

#submit-my-etd {
margin-top: 1rem;
margin-bottom: 0.5rem;
}

#masthead-banner {
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/homepage/_home_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>Emory Theses and Dissertations</h2>
<p>The Emory Theses and Dissertations (ETD) Repository holds theses and dissertations from the Laney Graduate School, the Rollins School of Public Health, and the Candler School of Theology, as well as undergraduate honors papers from Emory College of Arts and Sciences.</p>
<p>Emory University theses and dissertations submitted before the launch of the ETD repository can be found by searching the <a href="https://search.libraries.emory.edu/">Emory Library Catalog</a>. The theses and dissertations of the Wallace H. Coulter Department of Biomedical Engineering, a joint degree program by Emory University and Georgia Tech, are available in <a href="https://smartech.gatech.edu/">SMARTech</a>, Georgia Tech’s repository, and in the <a href="https://search.libraries.emory.edu/">Emory Library Catalog</a>.</p>
<div class="submit-my-etd">
<div class="submit-buttons">
<%= render 'submit_my_etd' %>
</div>
<hr>
Expand Down
2 changes: 1 addition & 1 deletion app/views/hyrax/homepage/_submit_my_etd.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</a>
</div>
<div class="col-sm-12 text-center">
<%= link_to new_polymorphic_path([main_app, Etd]),
<%= link_to new_polymorphic_path([main_app, Etd]), id: 'submit-my-etd',
class: 'btn btn-primary', data: { turbolinks: false } do %>
<i class="glyphicon glyphicon-upload"></i> <%= t('hyrax.share_button') %>
<% end %>
Expand Down

0 comments on commit a37fc44

Please sign in to comment.