Skip to content

Commit

Permalink
eu layout fixes mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
irony committed May 29, 2024
1 parent abdcb32 commit 077f31a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,18 @@ body {
max-width: 100%;
}

/* EU */
.EU .App-main > svg {
max-width: 50%;
}
.EU small {
display: block;
}

.EU .party:after {
display: none;
}

.App-main small {
opacity: 0.4;
font-size: 14px;
Expand Down Expand Up @@ -170,6 +175,7 @@ body {
.LegendContainer {
display: flex;
margin: 15px 0;
overflow-x: auto;
}

.LegendContainer > span {
Expand Down Expand Up @@ -226,6 +232,7 @@ body {
position: relative;
}

/*EU*/
.EU .wide {
display: none;
}
Expand All @@ -241,6 +248,11 @@ body {
margin-right: 30px;
}

.EU .party h1,
.EU .party h2 {
margin-right: 3px;
}

.party.below {
opacity: 0.5;
}
Expand Down

0 comments on commit 077f31a

Please sign in to comment.