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

Converting framework to cssgrids #1084

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

discodavey
Copy link
Member

No description provided.

@discodavey
Copy link
Member Author

@davidcmoulton Could you cast your eye over the code changes pleases. I have put the grid throughout the site now. Comments would be good if possible on here or verbally.

@discodavey discodavey marked this pull request as ready for review September 17, 2021 09:34
@discodavey
Copy link
Member Author

@davidcmoulton When you look at this I have done the changes to the Homepage and Research Article pages in the Pattern Library.

justify-content: center;
margin: auto;
padding: 0 12px;
@include constrain-width(1104, "max");
Copy link
Member Author

Choose a reason for hiding this comment

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

Magic Number remove

@nlisgo nlisgo force-pushed the converting-framework-to-cssgrids branch from b9218f9 to 9ff42c8 Compare March 16, 2022 09:40
@@ -84,19 +84,19 @@ module.exports = class AssetViewer {
if (!this.loader) {
this.loader = Promise.all([
utils.loadJavaScript(
'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.3/photoswipe.min.js',
'https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe.min.js',
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why this library is being downgraded?

Copy link
Member Author

Choose a reason for hiding this comment

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

These changes have come in from updating from last September to current. Not sure why this has been downgraded but will update again

@@ -38,6 +37,9 @@ module.exports = class ViewSelector {
return;
}

// matches top padding in scss
let topSpaceWhenFixed = 30;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be const if the value doesn't change

Copy link
Member Author

Choose a reason for hiding this comment

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

As above these have been brought in from the update from when we last updated last year. But yes agree. It should be const

package.json Outdated
@@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/elifesciences/pattern-library"
},
"version": "0.0.7",
"version": "0.0.6",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why have you changed this?

Copy link
Member Author

Choose a reason for hiding this comment

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

As above. Will change as from updates

<ul class="social-links__list">
<li class="social-links__list_item">
<a href="https://twitter.com/elife" class="social-links__list_link" aria-label="Twitter">
<svg width="28" height="28">
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why these SVG images aren't stored in separate files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants