Skip to content

Commit

Permalink
fixed morris
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed Aug 5, 2023
1 parent 1ca31b8 commit a027c4e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
10 changes: 6 additions & 4 deletions poems/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ def html(self):

@property
def email_html(self):
return f'''<head><!DOCTYPE html>
<style>
{CSS}
</style>
return f'''<!DOCTYPE html>
<html lang="en">
<head>
<style>
{CSS}
</style>
</head>
{self.html.replace(self.author.flag, "")}
<br>
Expand Down
4 changes: 0 additions & 4 deletions poems/poem-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ div.poem-date {

span.poem-title {
font-weight: bold;
}

section.poem-section {
padding-left: 3%;
}
Loading

0 comments on commit a027c4e

Please sign in to comment.