Skip to content

Commit 5f12408

Browse files
committed
Improved app
1 parent 3f27798 commit 5f12408

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

app/assets/stylesheets/base/_template.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ html {
66
height: 100%;
77
margin: 0;
88
font-family: $font;
9+
font-size: 10px;
910
}
1011

1112
header {
@@ -20,7 +21,7 @@ header {
2021
margin:0.5em;
2122
}
2223
.root-wrapper{
23-
border-bottom:3px solid #333;
24+
border-bottom:0.3em solid #333;
2425
}
2526
.traversal {
2627
width: 25%;
@@ -76,7 +77,7 @@ header {
7677
width:60%;
7778
.wrapper-content{
7879
box-shadow:1.5em 1em 1em #000;
79-
border:2px solid #fff;
80+
border:0.2em solid #fff;
8081
width:40%;
8182
padding:40px;
8283
background-color: #ccc;
@@ -131,7 +132,7 @@ header {
131132

132133
.login-box{
133134
flex-direction:column;
134-
display: contents;
135+
overflow: auto;
135136
.landing-content,.login-wrapper{
136137
width:100%;
137138
height:100%;

app/controllers/registrations_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ def after_sign_up_path_for(resource)
55
after_sign_in_path_for(resource)
66
end
77
def after_sign_in_path_for(resource)
8-
repositories_new_path
8+
gitrepos_newrepo_path
99
end
1010
end

app/views/layouts/application.html.erb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
<head>
44
<title>EditHub</title>
55
<%= csrf_meta_tags %>
6-
7-
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
87
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
9-
108
</head>
119

1210
<body>

app/views/repositories/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class=main-wrapper>
33
<div class=wrapper-upload>
44
<div class=upload-file>
5-
<%=link_to "#{image_tag("upload.png")} Upload".html_safe(),repositories_new_path, class: "upload-button"%>
5+
<%=link_to "#{image_tag("upload.png")} Upload".html_safe(),gitrepos_newrepo_path, class: "upload-button"%>
66
</div>
77
<div class=explore-wrapper>
88
<p class=explore-text>Explore Project</p>

0 commit comments

Comments
 (0)