tooltip feature is finalized for widgets

This commit is contained in:
Sevan Nerse 2020-07-12 18:22:55 +03:00
parent be212a9847
commit 7afc34ef11
3 changed files with 3 additions and 27 deletions

View File

@ -3,15 +3,7 @@
<div class="row align-items-center">
<div class="col-10 text-nowrap">
<h4 class="mb-0 long-texts">
<el-tooltip
content="{{ $class->model->name }}"
effect="dark"
:open-delay="100"
placement="top">
<span>{{ $class->model->name }}</span>
</el-tooltip>
</h4>
<h4 class="mb-0 long-texts" title="{{ $class->model->name }}">{{ $class->model->name }}</h4>
</div>
<div class="col-2 hidden-sm">

View File

@ -17,15 +17,7 @@
@foreach($transactions as $item)
<tr class="row border-top-1 tr-py">
<td class="col-xs-4 col-md-4 text-left">@date($item->paid_at)</td>
<td class="col-xs-4 col-md-4 text-left long-texts">
<el-tooltip
content="{{ $item->category->name }}"
effect="dark"
:open-delay="100"
placement="top">
<span>{{ $item->category->name }}</span>
</el-tooltip>
</td>
<td class="col-xs-4 col-md-4 text-left long-texts" title="{{ $item->category->name }}">{{ $item->category->name }}</td>
<td class="col-xs-4 col-md-4 text-right">@money($item->amount, $item->currency_code, true)</td>
</tr>
@endforeach

View File

@ -17,15 +17,7 @@
@foreach($transactions as $item)
<tr class="row border-top-1 tr-py">
<td class="col-xs-4 col-md-4 text-left">@date($item->paid_at)</td>
<td class="col-xs-4 col-md-4 text-left long-texts">
<el-tooltip
content="{{ $item->category->name }}"
effect="dark"
:open-delay="100"
placement="top">
<span>{{ $item->category->name }}</span>
</el-tooltip>
</td>
<td class="col-xs-4 col-md-4 text-left long-texts" title="{{ $item->category->name }}">{{ $item->category->name }}</td>
<td class="col-xs-4 col-md-4 text-right">@money($item->amount, $item->currency_code, true)</td>
</tr>
@endforeach