Browse Source

attempt to fix css spacing

pull/10/head
Aaron Parecki 9 years ago
parent
commit
f1f7402721
3 changed files with 19 additions and 12 deletions
  1. +1
    -1
      public/css/style.css
  2. +1
    -1
      views/appcache.php
  3. +17
    -10
      views/new-post.php

+ 1
- 1
public/css/style.css View File

@ -194,7 +194,7 @@ body {
margin-bottom: 10px;
list-style-type: none;
padding-left: 0;
max-width: 240px;
max-width: 100%;
}
.entry-buttons li {
margin-bottom: 6px;

+ 1
- 1
views/appcache.php View File

@ -12,4 +12,4 @@ CACHE MANIFEST
NETWORK:
*
# v3
# v8

+ 17
- 10
views/new-post.php View File

@ -22,38 +22,38 @@
</form>
<?php if($this->micropub_endpoint): ?>
<div class="scroll-container">
<div class="callout">
<p>Clicking an item will post this note to your Micropub endpoint. Below is some information about the request that will be made.</p>
<table class="table table-condensed">
<tr>
<td>me</td>
<td><code><?= session('me') ?></code> (should be your URL)</td>
<td class="break"><code><?= session('me') ?></code> (should be your URL)</td>
</tr>
<tr>
<td>scope</td>
<td><code><?= $this->token_scope ?></code> (should be a space-separated list of permissions including "post")</td>
<td class="break"><code><?= $this->token_scope ?></code> (should be a space-separated list of permissions including "post")</td>
</tr>
<tr>
<td>micropub endpoint</td>
<td><code><?= $this->micropub_endpoint ?></code> (should be a URL)</td>
<td class="break"><code><?= $this->micropub_endpoint ?></code> (should be a URL)</td>
</tr>
<tr>
<td>access token</td>
<td>String of length <b><?= strlen($this->access_token) ?></b><?= (strlen($this->access_token) > 0) ? (', ending in <code>' . substr($this->access_token, -7) . '</code>') : '' ?> (should be greater than length 0)</td>
<td class="break">String of length <b><?= strlen($this->access_token) ?></b><?= (strlen($this->access_token) > 0) ? (', ending in <code>' . substr($this->access_token, -7) . '</code>') : '' ?> (should be greater than length 0)</td>
</tr>
<tr>
<td>p3k-food</td>
<td>The button you tap (or your custom text) will be sent to your Micropub endpoint in a field named <code>p3k-food</code></td>
<td class="break">The button you tap (or your custom text) will be sent to your Micropub endpoint in a field named <code>p3k-food</code></td>
</tr>
<tr>
<td>p3k-type</td>
<td>Will be either <code>drink</code> or <code>eat</code> depending on the type of entry</td>
<td class="break">Will be either <code>drink</code> or <code>eat</code> depending on the type of entry</td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
</div>
@ -173,5 +173,12 @@ $(function(){
});
</script>
<style type="text/css">
.scroll-container {
width: 100%;
overflow-x: scroll;
}
.scroll-container .break {
word-break: break-all;
}
</style>

Loading…
Cancel
Save