Skip to content

Commit

Permalink
fix: add some padding for content on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Jan 2, 2021
1 parent 0e10ed1 commit 6356c25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Component } from '@angular/core';
template: `
<app-header></app-header>
<main class="flex flex-grow justify-center min-h-screen">
<main class="flex flex-grow justify-center min-h-screen px-4">
<router>
<route path="/blog" [exact]="false" [load]="components.blog"></route>
<route path="/live" [load]="components.live"></route>
Expand Down
2 changes: 1 addition & 1 deletion src/app/blog/post.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { PostCommentsComponentModule } from './comments.component';
@Component({
selector: 'app-post',
template: `
<div class="w-screen max-w-4xl text-2xl py-4">
<div class="w-screen max-w-4xl text-2xl p-4">
<h2 class="text-gray-600 text-2xl">{{ title$ | async }}</h2>
<span class="font-light text-sm">
Expand Down

0 comments on commit 6356c25

Please sign in to comment.