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

📚 - Replace global b-demo-steps class with tui-list_ordered #6972

Closed
nsbarsukov opened this issue Mar 11, 2024 · 0 comments · Fixed by #7366
Closed

📚 - Replace global b-demo-steps class with tui-list_ordered #6972

nsbarsukov opened this issue Mar 11, 2024 · 0 comments · Fixed by #7366
Assignees
Labels
community contribution This issue was closed by a PR from the community

Comments

@nsbarsukov
Copy link
Member

nsbarsukov commented Mar 11, 2024

Description

  1. Delete these lines

    .b-demo-steps {
    list-style-type: decimal;
    padding-left: 0.9375rem;
    margin: 1rem 0;
    & li {
    margin-bottom: 1.25rem;
    }
    }

  2. Replace its usage with tui-list_ordered

    Before:

    <ol class="b-demo-steps">
        <li>Blah Blah</li>
    
        <li>TODO</li>
    </ol>

    After:

    <ol class="tui-list tui-list_ordered">
        <li class="tui-list__item">Blah Blah</li>
    
        <li class="tui-list__item">TODO</li>
    </ol>
  3. Use <tui-setup /> where it is possible!

    export class TuiSetupComponent {

    For example:

    <ng-template pageTab="Setup">
    <tui-setup
    [import]="import"
    [template]="template"
    ></tui-setup>
    </ng-template>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community contribution This issue was closed by a PR from the community
Development

Successfully merging a pull request may close this issue.

3 participants