-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix cards #288
base: master
Are you sure you want to change the base?
Fix cards #288
Changes from 7 commits
3e81ea3
559a96d
e87fb2e
1bf6c75
31ad4f7
c20fd69
eeb9acb
b3a0a9f
a2cb677
b6e29b6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,7 +210,7 @@ body.docs-ndl .doc > .sect-header > h1.page:first-child { | |
} | ||
|
||
body.docs-ndl.hub .doc div:not(.display) h2 { | ||
display: none; | ||
display: flex; | ||
recrwplay marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
|
||
body.landing .toc { | ||
|
@@ -829,6 +829,13 @@ body.docs-ndl .cards .sect2.selectable .paragraph.link { | |
display: flex; | ||
} | ||
|
||
body.docs-ndl .cards.selectable .sect2 .paragraph.link.hide { | ||
box-sizing: border-box; | ||
padding-top: 0; | ||
margin-top: auto; | ||
font-size: 0; | ||
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. Is this intended to make the link invisible? I don't think a card that is selectable should have a visible link, so so we can just use something like
to hide all paragraphs that have the 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. No, it doesn't work without the .hide subclass. If I use your suggestion, it hides the links from the non-selectable cards too, even if I keep the following lines intact 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. I think this is fixed in the css now 👍🏻 |
||
} | ||
|
||
body.docs-ndl .cards.selectable .sect2 .paragraph.link, | ||
body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link { | ||
box-sizing: border-box; | ||
|
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.
We now have cards that are selectable, but which also contain links. The first two cards on this page - the card shouldn't be clickable because it has two links and those are what you need to click on.
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.
How do you separate the types of cards in the .adoc file? Like, the styling keeps on being applied after one card. I tried putting the card into
--
separators, but it didn't work.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.
It should be possible now to add the role before the heading ie