about summary refs log tree commit diff
path: root/laravel/resources/views
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2018-12-27 16:29:54 +0000
committerZach DeCook <zachdecook@gmail.com>2018-12-27 16:29:54 +0000
commited8d234975e3df79ab60cdc990f42856e5811d3f (patch)
tree887abf23d8d46ead5275228060e5a2095834f1d8 /laravel/resources/views
parente31c45a0482cb14b49175f983e466d96aa409ae6 (diff)
downloadprosongsa-ed8d234975e3df79ab60cdc990f42856e5811d3f.tar.gz
* Songs: Fix spacing for newly created songs
Diffstat (limited to 'laravel/resources/views')
-rw-r--r--laravel/resources/views/playlist.blade.php2
-rw-r--r--laravel/resources/views/song.blade.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/laravel/resources/views/playlist.blade.php b/laravel/resources/views/playlist.blade.php
index 856c81c..0793176 100644
--- a/laravel/resources/views/playlist.blade.php
+++ b/laravel/resources/views/playlist.blade.php
@@ -18,7 +18,7 @@
         <input name='key' placeholder='Key (e.g. Am)' type='text' />
         <input name='playlist' value='{{ $playlist->id }}' hidden/>
         <br/>
-        <textarea name='text' placeholder='song lyrics/chords' style='width: 100%; height: 200px;' ></textarea>
+        <textarea name='text' placeholder='song lyrics/chords' style='width: 100%; height: 200px; font-family: monospace;' ></textarea>
         <button type='submit'>Add song!</button>
     </form>
 @endsection
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php
index 6405b8a..7029871 100644
--- a/laravel/resources/views/song.blade.php
+++ b/laravel/resources/views/song.blade.php
@@ -29,9 +29,7 @@
     </noscript>
     </form>
     
-    <pre>
-    {!! $song['escapedText'] !!}
-    </pre>
+    <pre>{!! $song['escapedText'] !!}</pre>
     <div id="chordarea">
         <canvas id='guitarregion' width="100" height="100" onclick="cycle(guitarObj);"></canvas>
         <canvas id='ukuleleregion' width="100" height="100" onclick="cycle(ukeObj);"></canvas>