1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

docs: use class name for ul

This commit is contained in:
Thomas Heartman 2024-01-31 15:29:35 +09:00
parent 67f4dfbc42
commit be5df5726a
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78
2 changed files with 4 additions and 3 deletions

View File

@ -47,7 +47,7 @@ const links = [
const Component = () => {
return (
<div className='links-container'>
<ul className='links-wrapper'>
<ul className='unleash-academy-links'>
{links.map(({ level, header, description, link }) => (
<li key={header}>
<LinkBox

View File

@ -213,6 +213,7 @@ li.theme-doc-sidebar-item-category-level-1 > div::before {
/* end video content container */
/* Unleash academy content */
/* breakpoints:
show wide: >=1247
show narrow: 997-1246
@ -237,7 +238,7 @@ html[data-theme='dark'] .links-container {
--border-color: var(--ifm-color);
}
.links-container ul {
.unleash-academy-links {
list-style: none;
margin: 0;
padding: 0;
@ -296,7 +297,7 @@ html[data-theme='dark'] .links-container {
}
@media (min-width: 711px) and (max-width: 996px), (min-width: 1247px) {
.links-container ul {
.unleash-academy-links {
display: grid;
grid-template-columns: repeat(3, 1fr);
}