Skip to content

Commit 3a9ccbe

Browse files
committed
beautified the index page
1 parent 4ca7b7e commit 3a9ccbe

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

app/assets/stylesheets/application.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,16 @@
88
*
99
* Consider organizing styles into separate files for maintainability.
1010
*/
11+
12+
table {
13+
border-collapse: collapse;
14+
width: 100%;
15+
}
16+
th, td {
17+
border: 1px solid #ccc;
18+
padding: 8px;
19+
text-align: left;
20+
}
21+
th {
22+
background-color: #f2f2f2;
23+
}

app/views/puzzles/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% if session[:user_token] %>
22
<%= link_to 'Logout', session_path(1), data: { turbo_method: :delete } %>
3-
<h1>Puzzles#index</h1>
3+
<h1>Puzzles</h1>
44
<table>
55
<thead>
66
<tr>

0 commit comments

Comments
 (0)