Skip to content

Commit

Permalink
feat: Change from pixel to rem
Browse files Browse the repository at this point in the history
  • Loading branch information
nanafox committed Dec 7, 2024
1 parent 4fc31b1 commit 07d9d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/posts.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#posts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
gap: 1rem;
}
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<body class="text-white">
<header>
<nav class="navbar navbar-expand-lg bg-dark text-white">
<nav class="navbar navbar-expand-lg bg-dark text-white pt-2">
<div class="container-fluid text-white">
<%= link_to "AuthPost", root_path, class: "navbar-brand text-white" %>
<button
Expand Down

0 comments on commit 07d9d58

Please sign in to comment.