Skip to content

Commit

Permalink
fixed bubble sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfdaniels committed Jul 17, 2024
1 parent fe256d4 commit 7ea1de8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/Index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
<Editorial copy={copy.debunk_narvaez_2} spacer="none" />
</div>
<div class="editorial-container conclusion">
<h3 class="sub-title">It's your decision</h3>
<h3 class="sub-title">It&rsquo;s your decision</h3>
<Editorial copy={copy.editorial_conclusion} spacer="none" />
<Editorial copy={copy.editorial_conclusion_2} spacer="none" notifications={commentsConclusion} />
<h3 id="methods" class="sub-title sub-title-smaller">Methods</h3>
Expand All @@ -214,7 +214,7 @@
}
#article {
/* max-width: 40rem; */
padding: 16px;
/* padding: 16px; */
margin: 0 auto;
}
:global(#article h2 span) {
Expand Down
3 changes: 2 additions & 1 deletion src/components/article/ForceBubbles.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
children: Array.from(
group(renderedData.map(d => {
return {
value:10,//radiusScale(d.radius),
value:radiusScale(d.radius),
// YOU NEED THE GROUP TO HAVE A #, SO THAT'S WHY I MAP EACH POSITION TO 0,1,2
group:ordinalGroup[d[groupedBy]], info:d}
Expand Down Expand Up @@ -255,6 +255,7 @@
width={$viewport.width*0.9}
height={$viewport.height*0.9}
aria-labelledby="chartTitle chartDesc"
style="overflow:visible;"
>
<title id="chartTitle" style="opacity: 0;">
{chartTitle}
Expand Down
2 changes: 2 additions & 0 deletions src/components/article/Mosaic.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@
position: sticky;
top: 0;
z-index: 1;
width: 100%;
overflow: hidden;
}
.image-container {
Expand Down
3 changes: 1 addition & 2 deletions src/components/article/Notification.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@
font-size: 16px;
}
.notification {
margin-left: 10px;
margin-right: 10px;
max-width: calc(100% - 40px);
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/article/ScrollSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
@media only screen and (max-width: 600px) {
.step-content {
font-size: 14px !important;
/* font-size: 14px !important; */
}
}
</style>
2 changes: 1 addition & 1 deletion src/components/article/Tooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
}
.info-element {
font-size: 12px;
font-size: 14px;
font-weight: 400;
margin-bottom: 0px;
padding-bottom: 0px;
Expand Down
5 changes: 3 additions & 2 deletions src/styles/reset.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

body {
/* background-color: var(--color-bg, white); */
background: linear-gradient(180deg, #1A2127 0px, #1A2E3C 300px);
background:#1A2E3C;
color: #FFFFFF;
line-height: 1.4;
/* font-family: var(--font-body, serif); */
Expand Down Expand Up @@ -261,9 +261,10 @@ ol, ul {
}

.textbox-footnote {
font-size: 12px;
font-size: 14px;
white-space: wrap;
line-height: 1 !important;
line-height: 1.2;
}

.step-content .bold {
Expand Down

0 comments on commit 7ea1de8

Please sign in to comment.