Skip to content

Commit

Permalink
i hate safari
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Jun 25, 2024
1 parent e0c1392 commit 966403c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
11 changes: 5 additions & 6 deletions WebHostLib/static/styles/options/player.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion WebHostLib/static/styles/options/player.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 5 additions & 12 deletions WebHostLib/static/styles/options/player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ html {
}

#options-meta, .options {
//display: grid;
//grid-template-columns: 1fr;
//grid-gap: 1.5rem;
column-count: 1;
column-gap: 1.5rem;
display: grid;
grid-template-columns: 1fr;
grid-gap: 1.5rem;
margin-bottom: 1.5rem;
}

Expand Down Expand Up @@ -98,11 +96,6 @@ html {
min-height: 32px;
line-height: 28px;
margin-right: 24px;

.tooltip-container {
position: absolute;
z-index: 99999;
}
}

.option-subcontainer {
Expand Down Expand Up @@ -308,8 +301,8 @@ html {
}

#options-meta, .options {
//grid-template-columns: 1fr 1fr;
//grid-gap: 0.5rem 1.5rem;
grid-template-columns: 1fr 1fr;
grid-gap: 0.5rem 1.5rem;
column-count: 2;
}

Expand Down
2 changes: 1 addition & 1 deletion WebHostLib/templates/playerOptions/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

{% macro OptionTitle(option_name, option) %}
<label for="{{ option_name }}">
{{ option.display_name | default(option_name) }}<span class="nobr">:&nbsp;<span
{{ option.display_name | default(option_name) }}<span class="nobr">: <span
class="interactive tooltip-container"
{% if not (option.rich_text_doc | default(world.web.rich_text_options_doc, true)) %}
data-tooltip="{{ (option.__doc__ | default("Please document me!")) | replace("\n ", "\n") | escape | trim }}"
Expand Down
4 changes: 2 additions & 2 deletions WebHostLib/templates/playerOptions/playerOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>Player Options</h2>
<div id="options-meta">
<div class="option-container">
<label for="player-name">
Player Name:&nbsp;
Player Name:
<span class="interactive tooltip-container">
(?)<span class="tooltip">{{ PlayerNameHelp() | safe }}</span>
</span>
Expand All @@ -84,7 +84,7 @@ <h2>Player Options</h2>
</div>
<div class="js-required option-container">
<label for="game-options-preset">
Options Preset:&nbsp;
Options Preset:
<span
class="interactive tooltip-container"
data-tooltip="Select from a list of developer-curated presets (if any) or reset all options to their defaults."
Expand Down

0 comments on commit 966403c

Please sign in to comment.