mirror of
https://github.com/tabler/tabler.git
synced 2026-08-11 22:02:22 +04:00
Add segmented control component (#2087)
* Add segmented control component and update related files * Implement segmented navigation component and update related styles * Create grumpy-flowers-act.md * Refactor .gitignore and move playground pages to preview directory * Enhance segmented navigation with hover state and class support * Refactor segmented control layout for improved responsiveness and alignment
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% assign actions = page-header-actions | default: layout.page-header-actions %}
|
||||
{% assign pretitle = page-header-pretitle | default: layout.page-header-pretitle %}
|
||||
{% assign class = page-header-class | default: layout.page-header-class %}
|
||||
{% assign icon = page-header-icon | default: layout.page-header-icon %}
|
||||
{% assign page-icon = page-header-icon | default: layout.page-header-icon %}
|
||||
|
||||
{% if page-header-file %}
|
||||
{% include "layout/headers/{{ page-header-file }}.html" %}
|
||||
@@ -20,8 +20,8 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<h2 class="page-title">
|
||||
{% if icon %}
|
||||
{% include "ui/icon.html" icon=icon %}
|
||||
{% if page-icon %}
|
||||
{% include "ui/icon.html" icon=page-icon %}
|
||||
{% endif %}
|
||||
{{ page-header }}
|
||||
</h2>
|
||||
|
||||
Reference in New Issue
Block a user