Skip to content

Commit

Permalink
Tweak styling of consent view
Browse files Browse the repository at this point in the history
(Closer to original design)
  • Loading branch information
Brutus5000 committed Jan 16, 2025
1 parent e23346e commit 2c0d2b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/themes/faforever/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ header {

.main-card {
border-radius: 2px;
max-width: max(80%, 30rem);
max-width: min(80%, 30rem);
margin: 3rem auto;
background-color: rgba(220, 220, 220, 0.8);
box-shadow: 3px 4px 5px 5px rgba(0, 0, 0, 0.2);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class OAuthClientHeader : CompactVerticalLayout() {
private val clientPolicy = Anchor()

init {
width = "100%"
clientTos.text = getTranslation("consent.termsOfService")
clientPolicy.text = getTranslation("consent.privacyStatement")

Expand Down

0 comments on commit 2c0d2b7

Please sign in to comment.