1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00

Phriction: fix issue with icons in table of contents on wide screens

Summary:
When using icons in front of a header title, a part of the icon was
not visible in the TOC on wide screens.

| Before    | After    |
|-----------|----------|
| {F2670860}|{F2670861}|

Look at the table of contents on the left side.

Closes T15920

Test Plan:
Steps to reproduce in a Phriction document:

```
== {icon users} How to Register-in ==

=== {icon heart spin} Credits ===
```

Verify if all icons are visible in TOC.

Reviewers: O1 Blessed Committers, aklapper, valerio.bozzolan

Reviewed By: O1 Blessed Committers, aklapper, valerio.bozzolan

Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15920

Differential Revision: https://we.phorge.it/D25854
This commit is contained in:
Merula Turdus 2024-12-11 18:47:50 +01:00
parent dbcc447249
commit 4accca8420
2 changed files with 10 additions and 3 deletions

View file

@ -149,7 +149,7 @@ return array(
'rsrc/css/phui/phui-crumbs-view.css' => '614f43cf', 'rsrc/css/phui/phui-crumbs-view.css' => '614f43cf',
'rsrc/css/phui/phui-curtain-object-ref-view.css' => '51d93266', 'rsrc/css/phui/phui-curtain-object-ref-view.css' => '51d93266',
'rsrc/css/phui/phui-curtain-view.css' => '68c5efb6', 'rsrc/css/phui/phui-curtain-view.css' => '68c5efb6',
'rsrc/css/phui/phui-document-pro.css' => 'ec7031a9', 'rsrc/css/phui/phui-document-pro.css' => '48e72f0a',
'rsrc/css/phui/phui-document-summary.css' => 'b068eed1', 'rsrc/css/phui/phui-document-summary.css' => 'b068eed1',
'rsrc/css/phui/phui-document.css' => '52b748a5', 'rsrc/css/phui/phui-document.css' => '52b748a5',
'rsrc/css/phui/phui-feed-story.css' => 'a0c05029', 'rsrc/css/phui/phui-feed-story.css' => 'a0c05029',
@ -843,7 +843,7 @@ return array(
'phui-curtain-view-css' => '68c5efb6', 'phui-curtain-view-css' => '68c5efb6',
'phui-document-summary-view-css' => 'b068eed1', 'phui-document-summary-view-css' => 'b068eed1',
'phui-document-view-css' => '52b748a5', 'phui-document-view-css' => '52b748a5',
'phui-document-view-pro-css' => 'ec7031a9', 'phui-document-view-pro-css' => '48e72f0a',
'phui-feed-story-css' => 'a0c05029', 'phui-feed-story-css' => 'a0c05029',
'phui-font-icon-base-css' => '303c9b87', 'phui-font-icon-base-css' => '303c9b87',
'phui-fontkit-css' => '1ec937e5', 'phui-fontkit-css' => '1ec937e5',

View file

@ -171,7 +171,9 @@ body.printable {
white-space: nowrap; white-space: nowrap;
} }
.phui-document-view-pro .phui-document-toc-content a:hover { .phui-document-view-pro .phui-document-toc-content a:hover,
.phui-document-view-pro .phui-document-toc-content a:hover
span.visual-only.phui-icon-view.phui-font-fa.fa-users {
color: {$anchor}; color: {$anchor};
text-decoration: underline; text-decoration: underline;
} }
@ -377,4 +379,9 @@ body.printable {
text-indent: -10px; text-indent: -10px;
padding-left: 10px; padding-left: 10px;
} }
div.phui-document-view-pro div.phui-document-toc-content
span.visual-only.phui-icon-view.phui-font-fa {
text-indent: 0px;
}
} }