J4 Issue ?
avatar chmst
chmst
7 Apr 2021

Steps to reproduce the issue

Log in into frontend, hover an edit icon on an article.

Expected result

The tooltip is connected to the article.

Actual result

tooltip-edit-button

System information (as much as possible)

Additional comments

avatar chmst chmst - open - 7 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 7 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Apr 2021
avatar chmst chmst - change - 7 Apr 2021
Labels Added: J4 Issue
avatar chmst chmst - labeled - 7 Apr 2021
avatar infograf768
infograf768 - comment - 7 Apr 2021

Solution:

diff --git a/templates/cassiopeia/scss/blocks/_form.scss b/templates/cassiopeia/scss/blocks/_form.scss
index 3889dbb..cb07f51 100644
--- a/templates/cassiopeia/scss/blocks/_form.scss
+++ b/templates/cassiopeia/scss/blocks/_form.scss
@@ -85,8 +85,10 @@
 
   &[id^=editarticle-] {
+    right: auto;
     margin-inline-start: -10em;
   }
 
   &[id^=editcontact-] {
+    right: auto;
     margin-inline-start: -10em;
   }

avatar brianteeman
brianteeman - comment - 7 Apr 2021

RTL!

avatar infograf768
infograf768 - comment - 7 Apr 2021

What about RTL? Have you tested ????

Screen Shot 2021-04-07 at 12 08 50

avatar brianteeman
brianteeman - comment - 7 Apr 2021

If you set right to auto then there is no need for the margin-inline-start

image

avatar infograf768
infograf768 - comment - 7 Apr 2021

indeed, we don't need it either in ltr...

Screen Shot 2021-04-07 at 12 18 34

Therefore it is not RTL specific.

avatar infograf768
infograf768 - comment - 7 Apr 2021

and in RTL it would be (Without margin-inline-start: -10em;)

Screen Shot 2021-04-07 at 12 21 16

So, do whatever you want. I don't care at all.

EDIT NOTE:
taking off margin-inline-start will hide the tip when there is no right (or left in RTL) column position and reducing window.

Screen Shot 2021-04-08 at 06 46 25

Making patch now.

avatar infograf768 infograf768 - change - 8 Apr 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-04-08 04:56:55
Closed_By infograf768
avatar infograf768 infograf768 - close - 8 Apr 2021
avatar infograf768
infograf768 - comment - 8 Apr 2021

See #33066

Add a Comment

Login with GitHub to post a comment