mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-25 00:17:57 +01:00
Fix redaction buttons tooltips (#2750)
# Description of Changes #### Changes: - Button tooltip text wrap-ability for some buttons. - Show tooltip for disabled pdf-img on hover. ## UI Changes: #### Text-wrap when necessary for box redaction: - Before:  - After:  #### Displaying tooltip text next to buttons when the button is displayed as column to the left side of the screen: - Before:  - After:  #### Showing tooltip for pdf to image option when it is disabled by the user (red button) - Before:  - After:  #### Wrap and hyphenate palette tooltip (Hyphenation can be found in the German/Deutsch screenshots below) - Before:  - After:  ##### In German/Deutsch UI: Before:  After:  Closes #(issue_number) --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [x] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [x] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details.
This commit is contained in:
parent
b4451da2f4
commit
28e89a373f
@ -126,6 +126,10 @@ html {
|
||||
border-color: rgba(6, 114, 197, 0.82) !important;
|
||||
}
|
||||
|
||||
#pdfToImageBtn:hover .btn-tooltip {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#redactionsPaletteContainer {
|
||||
height: var(--toolButton-height);
|
||||
width: var(--toolButton-width);
|
||||
|
@ -4919,6 +4919,26 @@ dialog :link {
|
||||
left: 3px;
|
||||
top: var(--toolbar-height);
|
||||
}
|
||||
|
||||
#toolbarViewerRight > div.splitToolbarButton .btn-tooltip {
|
||||
bottom: unset !important;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#man-shape-redact {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#man-shape-redact .btn-tooltip {
|
||||
bottom: 100%;
|
||||
left: -5px;
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
#redactionsPaletteContainer .btn-tooltip {
|
||||
white-space: normal !important;
|
||||
hyphens: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 885px) {
|
||||
|
Loading…
Reference in New Issue
Block a user