Skip to content

Commit

Permalink
Fix padding/spacing for every service-card
Browse files Browse the repository at this point in the history
Add in tailwind conf color for button borders
  • Loading branch information
yusufsallam64 committed Oct 18, 2023
1 parent e74f113 commit 45e18c3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/elements/common/file-upload-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class FileUploadList extends LitElement {
</file-uploader>`
: null}
${this.entries.length
? html`${this.label ? html`<h2>${this.label}</h2>` : null}
? html`${this.label ? html`<h3 class="pb-1 text-lg">${this.label}</h3>` : null}
<div id="entries" class=${classMap({ 'no-header': !this.label })}>
${repeat(
this.entries,
Expand Down
1 change: 0 additions & 1 deletion src/elements/dev/version/version-info-cdn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#scroll-area {
max-height: 300px;
padding: 0 12px 8px 12px;
margin-bottom: 4px;
overflow-y: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion src/elements/dev/version/version-info-cdn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class VersionInfoCdn extends LitElement {
>
</dev-cdn-sites>
</div>
<h3>Custom Headers</h3>
<h3 class="pt-3 pb-1 text-lg">Custom Headers</h3>
${routesErrors.length
? html`<error-list id="custom-header-errors" .errors=${routesErrors}></error-list>`
: null}
Expand Down
2 changes: 1 addition & 1 deletion src/elements/dev/version/version-info-identity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default class VersionInfoIdentity extends LitElement {
@multi-select=${this.onSelect.bind(this)}
>
</file-upload-list>
<h4>Custom display names</h4>
<h3 class="pb-1 text-lg">Custom display names</h3>
${customDisplayNameErrors.length
? html`<error-list .errors=${customDisplayNameErrors}></error-list>`
: null}
Expand Down
6 changes: 3 additions & 3 deletions src/elements/dev/version/version-info-matchmaker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@ export default class VersionInfoMatchmaker extends LitElement {
${this.configExt.config.captcha ? this.renderCaptchaConfig() : null}
</div>
</div>`
: html`<h3>Captcha Verification</h3>
: html`<h3 class="pb-1 text-lg">Captcha Verification</h3>
<p class="muted">No captcha</p>`}
<h3>Runtime</h3>
<h3 class="pt-3 pb-1 text-lg">Runtime</h3>
${this.renderRuntimeConfig()}
<h3>Game Modes</h3>
<h3 class="pt-3 pb-1 text-lg">Game Modes</h3>
${gameModeMetaErrors.length
? html`<error-list .errors=${gameModeMetaErrors}></error-list>`
: null}
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
'button-bg-hover-color': '#ffffff05',
'base-bg': '#18181b', // Also change this in html/index.html and html/static-styles.css
'raised-bg': '#FFFFFF17',
'raised-bg-border-color': '#525252',
'lowered-bg': '#00000020',
'context-menu': '#262626',
'raised-hover': '#FFFFFF27',
Expand Down

0 comments on commit 45e18c3

Please sign in to comment.