Skip to content

Commit 311a462

Browse files
committed
styling/Reduce width of sidebar by 3%
1 parent f44b3df commit 311a462

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/assets/stylesheets/_sidebar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
font-size: 15px;
3838
padding:8px;
3939
text-decoration: none;
40-
padding-left: 50px;
40+
padding-left: 40px;
4141

4242
&:hover {
4343
cursor: pointer;

app/views/layouts/application.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737

3838
<div id="app">
3939
<div style="display: flex;">
40-
<div style="width: 25%;">
40+
<div style="width: 22%;">
4141
<%= render 'shared/sidebar' %>
4242
</div>
4343
<%# <div style="flex: 1; flex-basis: 25%; max-width: 25%;"></div> %>
44-
<div style="width: 75%;">
44+
<div style="width: 78%;">
4545
<%= yield %>
4646
</div>
4747
</div>

app/views/shared/_sidebar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<% end %>
3434
</div>
3535

36-
<div class="card--container card--container-padding" data-controller="list" data-list-url-value="<%= users_path(limit: 5) %>">
36+
<div class="card--container card--container-padding-horizontal" data-controller="list" data-list-url-value="<%= users_path(limit: 5) %>">
3737
<h3 class="text-center no-margin-top margin-bottom">Connect</h3>
3838
<% @users_for_connect.each do |user| %>
3939
<%= render partial: 'users/connect', locals: { user: user } %>

0 commit comments

Comments
 (0)