Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing adjustments #2231

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/components/article/ClaimFactCheckForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const ClaimFactCheckForm = ({
setError(false);
onClose(false);
setFlashMessage(<FormattedMessage
defaultMessage="Article created successfully! This new article may take a while to appear up everywhere."
defaultMessage="Article created successfully! This new article may take a while to appear everywhere."
description="Save item action success message"
id="claimFactCheckForm.saveSuccess"
/>, 'success');
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/article/ExplainerForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const ExplainerForm = ({
setError(false);
onClose(false);
setFlashMessage(<FormattedMessage
defaultMessage="Article created successfully! This new article may take a while to appear up everywhere."
defaultMessage="Article created successfully! This new article may take a while to appear everywhere."
description="Save item action success message"
id="explainerForm.saveSuccess"
/>, 'success');
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/dashboard/Dashboard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
flex-direction: column;
gap: 16px;
overflow: auto;
padding: 16px 32px 32px;
padding: 16px 16px 32px;

hr {
border-bottom: solid 1px var(--color-beige-76);
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/drawer/Projects/Projects.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

.listMainAction {
padding: 0 18px;
padding: 0 16px;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed atypical use of 18 vs 16px

}

.listWrapper {
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/feed/FeedItem.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
.feedItemColumns {
display: flex;
gap: 16px;
margin: 16px 32px;
margin: 16px;
}

.feedItemColumn {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
flex-wrap: wrap;
gap: 16px;
justify-content: space-between;
margin: 16px 32px 0;
margin: 16px 16px 0;
padding: 16px;
width: auto;

Expand All @@ -35,7 +35,7 @@
flex: 1 1 auto;
flex-direction: row;
height: 400px;
margin: 0 32px;
margin: 0 16px;
max-height: 100%;
overflow: hidden;

Expand All @@ -55,6 +55,8 @@
}

.report-editor {
padding: 0 16px 16px 0;

.report-designer-form {
background-color: var(--color-white-100);
border-radius: var(--border-radius-default);
Expand Down
16 changes: 10 additions & 6 deletions src/app/components/media/media.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.media-item-wrapper {
--minMediaColumnWidth: calc(216px * (16/9));
--minAnnotationsColumnWidth: calc(280px * (16/9));
display: flex;
flex-direction: column;
gap: 16px;
Expand All @@ -10,7 +11,7 @@
display: flex;
gap: 8px;
justify-content: flex-start;
margin: 2px 32px -28px;
margin: 2px 16px -28px;
}

.media-actions-bar {
Expand All @@ -21,7 +22,7 @@
flex: 0 0 64px;
flex-wrap: wrap;
justify-content: space-between;
margin: 16px 32px 0;
margin: 16px 16px 0;
min-width: var(--minMediaColumnWidth);
padding: 16px;
width: auto;
Expand Down Expand Up @@ -102,7 +103,7 @@
flex: 1 1 100%;
flex-flow: row wrap;
gap: 16px;
margin: 0 32px 16px;
margin: 0 16px 16px;
min-height: 0;
overflow: hidden;

Expand Down Expand Up @@ -153,7 +154,7 @@
.media-item-annotations {
flex: 1 1 0;
height: 100%;
min-width: var(--minMediaColumnWidth);
min-width: var(--minAnnotationsColumnWidth);

.media-annotations-tabs {
background-color: var(--color-white-100);
Expand Down Expand Up @@ -237,23 +238,26 @@
}
}

@media (max-width: 1200px) {
@media (max-width: 1280px) {
height: 100vh;
overflow: auto;

.media-item {
flex-flow: column nowrap;
margin: 0;
overflow: auto;
padding: 0 16px 16px 32px;
padding: 0 16px 16px;

.media-item-content {
overflow: visible;
}

.media-item-medias,
.media-item-annotations {
flex: 1 0 auto;
height: auto;
max-height: unset;
min-width: unset;
}

.media-item-annotations {
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/search/SearchResults.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.search-results-header {
margin: 16px 32px;
margin: 16px;

:global(.search__list-header-filter-row) {
align-items: flex-start;
Expand All @@ -95,7 +95,7 @@
.search-results-top {
background-color: var(--color-white-100);
border-radius: var(--border-radius-default);
margin: 0 32px 16px;
margin: 0 16px 16px;
padding: 16px;

.search-results-top-extra {
Expand All @@ -109,7 +109,7 @@
border-radius: var(--border-radius-default);
display: flex;
flex-direction: column;
margin: 0 32px 16px;
margin: 0 16px 16px;
max-height: 100%;
overflow: hidden;

Expand Down
2 changes: 1 addition & 1 deletion src/app/components/team/Settings.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
flex: 1 1 auto;
flex-direction: column;
overflow: auto;
padding: 16px 32px 32px;
padding: 16px 16px 32px;

.setting-details-wrapper {
max-width: var(--columnWidthLarge);
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/user/user.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
flex: 1 1 auto;
flex-direction: column;
overflow: auto;
padding: 16px 32px 32px;
padding: 16px 16px 32px;

.appstore-badges {
display: flex;
Expand Down
Loading