mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 13:25:50 +02:00
Fix for page tooltips usability issue #496
This commit is contained in:
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -23,6 +23,11 @@
|
||||
@include breakpoint(mobile-only) {
|
||||
padding-right: 1rem;
|
||||
}
|
||||
[data-hint]:after {
|
||||
line-height: 1 !important;
|
||||
width: auto !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
p.page-route {
|
||||
display: block;
|
||||
|
||||
@@ -78,11 +78,12 @@
|
||||
|
||||
<li class="page-item" data-nav-id="{{ p.route }}">
|
||||
<div class="row">
|
||||
<span {{ p.children(0).count > 0 ? 'data-toggle="children"' : ''}} data-hint="{{ description|trim(' • ')|raw }}" class="hint--bottom">
|
||||
<span {{ p.children(0).count > 0 ? 'data-toggle="children"' : ''}}>
|
||||
<i class="page-icon fa fa-fw fa-circle-o {{ p.children(0).count > 0 ? 'children-closed' : ''}} {{ p.modular ? 'modular' : (not p.routable ? 'not-routable' : (not p.visible ? 'not-visible' : (not p.page ? 'folder' : ''))) }}"></i>
|
||||
</span>
|
||||
<span data-hint="{{ description|trim(' • ')|raw }}" class="hint--right">
|
||||
<a href="{{ page_url }}" class="page-edit">{{ p.title|e }}</a>
|
||||
|
||||
</span>
|
||||
{% if p.language %}
|
||||
<span class="badge lang {% if p.language == admin_lang %}info{% endif %}">{{p.language}}</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user