Skip to content

Commit

Permalink
Added Jump To links
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlkonig committed Apr 16, 2023
1 parent e17b582 commit 9cefff9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

* Added the Vapour Shroud system and added all Phalon ships from *Fleet Book 2* to the presets.
* Added "Jump to" links to the sticky status div.

## [v3.3.0] - 2023-04-16

Expand Down
2 changes: 1 addition & 1 deletion src/components/Builder.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
}
</script>

<div class="columns">
<div class="columns" id="anchorBuilder">
<div class="column">
<section class="section">
<h2 class="subtitle" title="All things hull">Structure</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SSD.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
};
</script>

<div class="tabs is-medium is-boxed is-centered paddingBottom">
<div class="tabs is-medium is-boxed is-centered paddingBottom" id="anchorSSD">
<ul>
<li
class="{paradigm === "linear" ? "is-active" : ""}"
Expand Down
6 changes: 6 additions & 0 deletions src/components/Status.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@
<div class="level-item">
<button class="button is-small is-light is-danger is-rounded" on:click={() => modalClearShip = "is-active"}>Clear Ship</button>
</div>
<div class="level-item">
<a href="#anchorSSD" style="font-size: smaller">Jump to SSD</a>
</div>
<div class="level-item">
<a href="#anchorBuilder" style="font-size: smaller">Jump to Top</a>
</div>
</div>
</div>
<div class="content">
Expand Down

0 comments on commit 9cefff9

Please sign in to comment.