Skip to content

Commit

Permalink
Merge pull request #1 from HazemKhaled/patch-1
Browse files Browse the repository at this point in the history
Add RTL
  • Loading branch information
WesCossick authored Oct 11, 2017
2 parents 7410383 + 72cead1 commit 9d28af4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Simple HTML invoice template
A modern, clean, and very simple responsive HTML invoice template, because sometimes you just need something quick and simple.

### RTL support
Replace `<div class="invoice-box">` with `<div class="invoice-box rtl">`

### Demo
[Find a demo here](https://www.sparksuite.com/open-source/invoice)

Expand Down
11 changes: 11 additions & 0 deletions invoice.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,17 @@
text-align:center;
}
}
/** RTL **/
.rtl {
direction: rtl;
font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
}
.rtl table {
text-align: right;
}
.rtl table tr td:nth-child(2) {
text-align: left;
}
</style>
</head>

Expand Down

0 comments on commit 9d28af4

Please sign in to comment.