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

Format Definition List vertical #299

Open
jimmywarting opened this issue Jun 6, 2022 · 4 comments
Open

Format Definition List vertical #299

jimmywarting opened this issue Jun 6, 2022 · 4 comments

Comments

@jimmywarting
Copy link

Following up on this article on how to format a Definition List and some other stackoverflow suggestions... I found this to be pretty nice: https://jsbin.com/kuyawicuno/2/edit?html,css,output

Thinking maybe that you should incorporate it to the default style

@deepbeatz
Copy link

please assign me this issue. I want to start working on it immediately.

@adiitiii
Copy link

Can you explain in a more detail manner as to what exactly needs to be done here ? I'm still confused, I'd like to contribute

@jimmywarting
Copy link
Author

Simply adding:

dl {
	display: grid;
	align-items: baseline;
}
dt {
	grid-column: 1;
	text-align: right;
}
dd {
	grid-column: 2;
	margin-inline-start: 10px;
}
dd * {
	width: 100%;
	box-sizing: border-box;
}

@Nikhil743
Copy link

Please assign me to this issue

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

No branches or pull requests

4 participants