Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
fix(ui): Resolve some inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent 8f1c1c6 commit fddc4a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/userscript/source/ui/CraftSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export class CraftSettingsUi extends SettingsSectionUi<CraftSettings> {
css: {
cursor: "pointer",
display: "inline-block",
borderBottom: "1px solid rgba(185, 185, 185, 0.7)",
borderBottom: "1px solid rgba(185, 185, 185, 0.1)",
},
});

Expand Down
1 change: 0 additions & 1 deletion packages/userscript/source/ui/DistributeSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export class DistributeSettingsUi extends SettingsSectionUi<DistributeSettings>
label: string
): JQuery<HTMLElement> {
const element = this.getOption(name, option, label);
element.css("borderBottom", "1px solid rgba(185, 185, 185, 0.7)");

//Limited Distribution
const labelElement = $("<label/>", {
Expand Down
3 changes: 2 additions & 1 deletion packages/userscript/source/ui/TimeControlSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1225,9 +1225,10 @@ export class TimeControlSettingsUi extends SettingsSectionUi<TimeControlSettings
id: "resources-add",
text: this._host.i18n("resources.add"),
css: {
border: "1px solid grey",
cursor: "pointer",
display: "inline-block",
borderBottom: "1px solid rgba(185, 185, 185, 0.7)",
padding: "1px 2px",
},
});

Expand Down
5 changes: 3 additions & 2 deletions packages/userscript/source/ui/TradingSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class TradingSettingsUi extends SettingsSectionUi<TradingSettings> {
i18nName: string
): JQuery<HTMLElement> {
const element = this.getOption(name, option, i18nName);
element.css("borderBottom", "1px solid rgba(185, 185, 185, 0.7)");
element.css("borderBottom", "1px solid rgba(185, 185, 185, 0.1)");

//Limited Trading
const label = $("<label/>", {
Expand Down Expand Up @@ -182,7 +182,8 @@ export class TradingSettingsUi extends SettingsSectionUi<TradingSettings> {

const button = $("<div/>", {
id: `toggle-seasons-${name}`,
text: this._host.i18n("trade.seasons"),
text: "🗓",
title: this._host.i18n("trade.seasons"),
css: {
cursor: "pointer",
display: "inline-block",
Expand Down

0 comments on commit fddc4a6

Please sign in to comment.