Skip to content

Commit

Permalink
Hack an experiment at responsive design for mobile application alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 20, 2023
1 parent 91a44ea commit c4eb784
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions maizzle/src/components/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<table>
<tr>
<td class="w-[180px]" valign="top">
<td class="w-[180px] xs:w-full xs:inline-block" valign="top">
<img alt="Map of {{ address }}" src="https://maps.googleapis.com/maps/api/staticmap?key=AIzaSyCmdTv4mqSQKa2BfUvQUU3mEuj6vxnEiHI&amp;maptype=roadmap&amp;markers=color%3Ared%7C-33.90413%2C151.16163&amp;size=150x150&amp;zoom=16&amp;signature=i7QiFQ-M5phHMw9HKccQv-gReEc=" width="150" height="150">
</td>
<td valign="top" class="h-[150px]">
<td valign="top" class="h-[150px] xs:w-full xs:inline-block xs:mt-4">
<a href="#" class="text-navy dark-mode:text-white">
<h2 class="m-0 text-lg font-bold">{{ address }}</h2>
</a>
Expand Down
4 changes: 2 additions & 2 deletions maizzle/src/templates/new-applications-alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
<x-standard>
<table>
<tr>
<td class="w-1/2">
<td class="w-1/2 xs:w-full xs:inline-block">
<p>Hello,</p>
<p>
We found 2 new planning applications for you near 89
Bridge Rd, Richmond VIC 3121.
</p>
<p>Thanks,<br>Planning Alerts team</p>
</td>
<td class="w-1/2" align="right">
<td class="w-1/2 text-right xs:text-left xs:w-full xs:inline-block">
<img src="images/dancing-man.png">
</td>
</tr>
Expand Down

0 comments on commit c4eb784

Please sign in to comment.