?
avatar Kostelano
Kostelano
14 May 2021

Steps to reproduce the issue

Install demo data. Go to Control panel --- Content (Featured Articles). Please note that the size of the content in tooltips is different, see the screenshot (scale 1:1).

Screenshot_1

avatar Kostelano Kostelano - open - 14 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 14 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 May 2021
avatar brianteeman
brianteeman - comment - 14 May 2021

Can not confirm

image

image

avatar Kostelano
Kostelano - comment - 14 May 2021

It is even visually visible that the font differs in size.

For some reason, the block pulls the styles of the small class with a font size of .8rem.

avatar infograf768
infograf768 - comment - 15 May 2021

Confirmed

Can't reproduce for Articles manager

tipsize

Can reproduce for Featured Manager and difficulties to show tooltip

tipsizefeatured

avatar infograf768
infograf768 - comment - 15 May 2021

This is due to

<div class="d-flex align-items-center tbody-icon small">

But taking off small does not solve the difficulty to display the tip on hover.

Comparing Articles manager and Featured Manager show important differences.

Featured Manager

<?php if ($workflow_enabled) : ?>
								<td class="article-stage">
									<div class="d-flex align-items-center tbody-icon small">
									<?php
									$options = [
										'transitions' => $transitions,
										'title' => Text::_($item->stage_title),
										'tip_content' => Text::sprintf('JWORKFLOW', Text::_($item->workflow_title)),
										'id' => 'workflow-' . $item->id
									];

									echo (new TransitionButton($options))
										->render(0, $i);
									?>
									</div>
								</td>
								<?php endif; ?>

Articles Manager

<?php if ($workflow_enabled) : ?>
								<td class="article-stage text-center">
								<?php
								$options = [
									'transitions' => $transitions,
									'title' => Text::_($item->stage_title),
									'tip_content' => Text::sprintf('JWORKFLOW', Text::_($item->workflow_title)),
									'id' => 'workflow-' . $item->id
								];

								echo (new TransitionButton($options))
									->render(0, $i);
								?>
								</td>
								<?php endif; ?>

I guess the solution (I tested) is replace the format in Featured Manager by the one used in Articles Manager.

avatar brianteeman
brianteeman - comment - 15 May 2021

sorry it was late and I was testing articles not featured.

I can submit a PR to fix it shortly if @infograf768 doesnt do it first. Its a simple fix

avatar infograf768
infograf768 - comment - 15 May 2021

Please do. Fix above is indeed simple.

avatar brianteeman
brianteeman - comment - 15 May 2021

Please test #33894

avatar alikon alikon - close - 15 May 2021
avatar alikon
alikon - comment - 15 May 2021

pr to test #33894

avatar alikon alikon - change - 15 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-15 07:52:38
Closed_By alikon

Add a Comment

Login with GitHub to post a comment