-
Notifications
You must be signed in to change notification settings - Fork 6
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
DSD-1867: overflow focus indicator #1701
Merged
oliviawongnyc
merged 11 commits into
development
from
DSD-1867/overflow-focus-indicator
Nov 26, 2024
Merged
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
82a0031
Updates styles to accomodate focus indicator
oliviawongnyc f7f1d21
Merge branch 'development' into DSD-1867/overflow-focus-indicator
oliviawongnyc 41ad98e
Updates styles and docs for Template
oliviawongnyc dfaa59c
Updates per PR feedback
oliviawongnyc 9f74a34
Updates comment
oliviawongnyc 199159b
Updates per PR feedback
oliviawongnyc 4110408
Cleans up note
oliviawongnyc e347fec
Prepares rc
oliviawongnyc ca8ad70
Merges in development
oliviawongnyc fd09aa5
Updates bug that prevented FeaturedContent from being fullbleed
oliviawongnyc 9e4e10c
Merges in development
oliviawongnyc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,17 +41,17 @@ const TemplateContent = defineStyleConfig({ | |
flexDirection: { base: "column", md: null }, | ||
gridTemplateColumns: "1fr", | ||
paddingY: 0, | ||
paddingX: "s", | ||
gap: "grid.l", | ||
rowGap: "grid.l", | ||
}), | ||
// With left or right sidebars, we need to set two grid columns and | ||
// the column for the sidebar is max 255px width. | ||
// the column for the sidebar is max 271px width (255px for the sidebar | ||
// + 16px for padding). | ||
variants: { | ||
left: { | ||
gridTemplateColumns: { md: "255px 1fr" }, | ||
gridTemplateColumns: { md: "271px 1fr" }, | ||
}, | ||
right: { | ||
gridTemplateColumns: { md: "1fr 255px" }, | ||
gridTemplateColumns: { md: "1fr 271px" }, | ||
}, | ||
}, | ||
}); | ||
|
@@ -60,6 +60,7 @@ const TemplateContentTopBottom = defineStyleConfig({ | |
baseStyle: defineStyle({ | ||
gridColumn: { base: "1", md: "1 / span 2" }, | ||
height: "100%", | ||
paddingX: "s", | ||
}), | ||
}); | ||
|
||
|
@@ -68,27 +69,35 @@ const TemplateContentTopBottom = defineStyleConfig({ | |
const TemplateContentPrimary = defineStyleConfig({ | ||
baseStyle: defineStyle({ | ||
gridColumn: { base: "1", md: "1 / span 2" }, | ||
overflow: { base: "unset", md: "hidden" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is where the issue @bigfishdesign13 flagged comes from in https://github.com/NYPL/nypl-ds-test-app/pull/119#issuecomment-2494008501 |
||
paddingX: "s", | ||
}), | ||
variants: { | ||
left: { | ||
gridColumn: { base: "1", md: "2" }, | ||
marginEnd: { md: 0 }, | ||
minWidth: { md: 0 }, | ||
overflow: { base: "unset", md: "hidden" }, | ||
paddingRight: "s", | ||
paddingLeft: { base: "s", md: "l" }, | ||
}, | ||
right: { | ||
gridColumn: { base: "1", md: "1" }, | ||
overflow: { base: "unset", md: "hidden" }, | ||
gridColumn: "1", | ||
paddingRight: { base: "s", md: "l" }, | ||
paddingLeft: "s", | ||
}, | ||
}, | ||
}); | ||
const TemplateContentSidebar = defineStyleConfig({ | ||
variants: { | ||
left: { | ||
gridColumn: "1", | ||
paddingLeft: "s", | ||
paddingRight: { base: "s", md: 0 }, | ||
}, | ||
right: { | ||
gridColumn: { base: "1", md: "2" }, | ||
paddingLeft: { base: "s", md: 0 }, | ||
paddingRight: "s", | ||
}, | ||
}, | ||
}); | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel this should mention some details about the solution. Something about adjusting the padding throughout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps in the specific component changelog?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated component changelog