diff options
author | David Gay <david@davidgay.org> | 2021-06-03 21:39:05 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-03 21:39:16 -0400 |
commit | 9e56a00ce9fd61a45e35de62d049ab57ffd6dede (patch) | |
tree | ca3f3b055f0a68c9eb3fbb5b616f31168cd860e1 | |
parent | 47bf4a6c8b6054e8df408d8be7bf0d4702542545 (diff) |
Reduce text size of character view headings
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/views/characters/show.html.erb | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e1f10a..e7ba607 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ amenities, etc that are added unless they are special in some way. - Remaining duration of conditions and accumulated rested time are now expressed in "human" terms instead of seconds. - Blank line is now added to beginning of combat results instead of end, since it means more of the most-recent combat results can be visible when the box has a scroll bar. +- Reduced text size of Character view headings. ### Removed - The "Look" view. diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index dda770e..42a932e 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -15,7 +15,7 @@ <p class="mb-4">Learned <%= @character.learned_activities.count %> recipe(s) or technique(s).</p> <div class="my-4"> - <h2 class="text-2xl mb-2">Boons & Banes</h2> + <h2 class="text-xl mb-2">Boons & Banes</h2> <% if @character.active_states.any? %> <ul> <% @character.active_states.each do |state| %> @@ -28,7 +28,7 @@ </div> <% if @character == current_char %> - <h2 class="text-2xl mb-4">Combat Styles</h2> + <h2 class="text-xl mb-4">Combat Styles</h2> <%= form_with url: character_combat_styles_path(character_id: @character) do |f| %> <%= f.label :offensive_style, "Offensive" %> <%= f.select :offensive_style, Character.offensive_styles.keys.to_a, selected: @character.offensive_style %> @@ -41,7 +41,7 @@ <% end %> <div class="my-6"> - <h2 class="text-2xl mb-4">Combat Statistics</h2> + <h2 class="text-xl mb-4">Combat Statistics</h2> <table class="table-auto"> <tbody> <tr> @@ -81,7 +81,7 @@ </div> <div class="my-6"> - <h2 class="text-2xl mb-4">Skills</h2> + <h2 class="text-xl mb-4">Skills</h2> <table class="table-auto mb-8"> <thead> @@ -107,7 +107,7 @@ <% if @character == current_char %> <div class="my-6"> - <h2 class="text-2xl mb-4">Rest</h2> + <h2 class="text-xl mb-4">Rest</h2> <p class="mb-4"> You have <%= distance_of_time_in_words_to_now(current_char.rested_until) %> of rested time. <% if current_char.resting? %> |