Skip to content

Commit

Permalink
changed author name styling (#1644)
Browse files Browse the repository at this point in the history
* changed author name styling

* removed unwanted files
  • Loading branch information
singhavs committed Apr 15, 2022
1 parent a4a27a1 commit e44f572
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions app/assets/stylesheets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,21 @@ It was originally created by Caroline Hadilaksono: http://www.hadilaksono.com
color: rgb(72, 72, 72);
}

#map-title a{
margin: 0px;
overflow-wrap: break-word;
font-size: 15px;
font-weight: 600;
color: rgb(72, 72, 72);
}

#map-title a:hover{
margin: 0px;
overflow-wrap: break-word;
font-size: 16px;
font-weight: 600;
color: #0056b3;
}
.map-details {
display: block;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion app/views/front_ui/_maps.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="card-body" style="margin-left: -18px !important;">
<span class="mx-auto map-location"><%= truncate(map.location, :length => 32, separator: ' ') %></span>
<h4><a href="/maps/<%= map.slug %>" class="map-title"><%= map.name %></a></h4>
<p class="map-details">
<p class="map-details" id="map-title">
<% if map.user %>
By <a href="/profile/<%= map.user.login %>"><%= map.user.login %></a>
<% else %>
Expand Down

0 comments on commit e44f572

Please sign in to comment.