Небольшое замечание к разделу Theme Based Rendering

Open Beginner friendly
#277 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Open the Theme Based Rendering section at https://framework7.io/docs/theme-based-rendering.html and locate the example that hides the “Back” label. Check the documentation for the required icon-only class, update the example accordingly, and verify that the rendered snippet remains consistent with the surrounding guidance.

Written by the indexing model from the issue text.

Description

Тут https://framework7.io/docs/theme-based-rendering.html есть пример, который позволяет скрыть слово "Назад":

<div class="left">
      <a href="#" class="link back">
        <i class="icon icon-back"></i>
        <!-- back button text will be visible only in iOS and Aurora themes -->
        <span class="if-not-md">Back</span>
      </a>
    </div>

это хороший практический пример, но если мы скрываем надпись, то, согласно документации, нужно добавлять класс icon-only к<a>. Получается, не совсем корректный все же пример.

Dominant language
JavaScript
Stars
163
Forks
434
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from framework7io/framework7-website

All issues in framework7io/framework7-website

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.