Skip to content

Commit

Permalink
Merge pull request #260 from gadgetmies/feature/sticky-save
Browse files Browse the repository at this point in the history
Make save button container sticky in settings
  • Loading branch information
outdoorbits authored Dec 13, 2023
2 parents 6d8f56d + 0cf4135 commit c6ec9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ function upload_settings() {
</div>

<div class="card" style="margin-top: 2em;">
<?php echo '<button style="margin-top: 2em;" type="submit" name="save">' . L::config_save_button . '</button>'; ?>
<?php echo '<button style="margin-top: 2em; position: sticky; bottom: 0; background-color: var(--cbg)" type="submit" name="save">' . L::config_save_button . '</button>'; ?>
</div>

</form>
Expand Down

0 comments on commit c6ec9a0

Please sign in to comment.