-
Notifications
You must be signed in to change notification settings - Fork 1
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
Finish card component #785
Conversation
…with shared properties.
…nish-card-component
…nish-card-component
…nish-card-component
When circle image is set within "stacked", the |
@makurj Try changing the viewport to "Tablet", all mobile styles are forced into the stacked format currently. |
That worked! Thanks, Ben. |
"Image Using Font Awesome Icon": The icon disappears on "large mobile" with any shape other than "widescreen", no matter the orientation. It appears fine for tablet viewport. |
I'd be in favor of hiding this story for now. I don't think this story is finished and it's not something we are using in SiteNow currently. |
So this did confuse me! Especially because a different section has Media > Border > True/False. I'm thinking we set up our default card so that all extra options are False. And since we wanted a card border but no media border for default, the card border option ended up being No border set as False and media border just Border set as False. So, it makes sense why we did it this way, but I still think it's confusing to users (both the double negative and the options not matching) and worth discussing changing. |
Not sure this is in scope, as it wasn't a combination option on the old UIDS site, but I wanted to document it for the future (assuming it isn't expected behavior). When I turn on Also happening with the above combinations is that the subtitle and meta text behave strangely when both added. Subtitle by itself is left-aligned like the title and link. But when I start typing meta text the subtitle starts moving to the right. Meta text is left-aligned with and without the subtitle. Edit: I figured out screenrecording! So you can see it instead of having to recreate it yourself. Screen.Recording.2022-10-26.at.11.38.58.AM.mov |
Not in scope and not an error or loss of functionality but a change that may cause confusion: if the card has link text the Props category appears before Display Options. When you remove link text it appears after Display Options. aka I thought I broke something until I scrolled down. |
pulling down |
should this be a :not somehow? |
@joewhitsitt I think we need to set a default margin at uids/src/components/card/card.scss Line 89 in f4fadd1
bttn to something like:
Then this would work. I liked targeting the |
@bspeare i made that margin change, but there is still this alignment difference between 3.x and 4.x: https://uids.brand.uiowa.edu/components/detail/card--centered-enclosed.html |
@joewhitsitt can you share a link that contains the args in that screenshot? |
@joewhitsitt I think #785 (comment) is fixed by moving the |
This might have introduced a new oddity: |
As a team we reviewed the feedback that was part of this PR and have fixed the items in scope. |
Resolves #781
To test
Remaining tasks
click-ally.js
font-size: 1.5rem;
for card.headline
Potential additional tasks
Clear up the "border double negative"hold up for nowAlign button to bottom
andCentered
combinationsNotes for SiteNow
Media-align left or right with a circle selected needsmedia—padded
modifier unless ‘borderless’ is selected.media—padded
needs to be applied.