overleaf/services/web/frontend/js/features
Antoine Clausse 1d4737ac69 [web] Changes to recompile button in Bootstrap 5 (#21586)
* Add Story for `PdfCompileButton`

* Set the CompileButton height so it's similar to BS3

* Add the CompileButton animations

* Remove `sm` from CompileButton: makes font size bigger

* Use MaterialIcon in compile-button dropdown-toggle

* Use MaterialIcon in LayoutDropdown

* Fix stripe alignment on Recompile button

* Set padding around dropdown caret

Per Alexandru's instructions

* Prevent border from disappearing on hover

* Set the padding of the compile button even on both sides

Before: left 12px, right 16px;
After: left 16px, right 16px;

* Change px values to spacing var

* Add some button classes for BS5 only

* Don't render the hidden "Compiling…" in BS5, it changes the button width

* Prevent `loading="[object Object]"` in the DOM

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>

---------

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 34f1eed03e63f3459243a37c878612a623f321f8
2024-11-15 09:05:25 +00:00
..
algolia-search
autoplay-video
bookmarkable-tab
chat Update loading spinner in Chat (#21624) 2024-11-11 09:04:16 +00:00
clone-project-modal/components
compromised-password/components
contact-form
cookie-banner
dictionary
editor-left-menu Merge pull request #21680 from overleaf/rd-dyslexic-font 2024-11-11 09:04:42 +00:00
editor-navigation-toolbar/components [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
event-tracking
fallback-image
faq-search
file-tree Merge pull request #21470 from overleaf/jdt-file-upload-limit-notif 2024-11-05 09:05:41 +00:00
file-view Avoid calling destroy on the PDF.js loading task (#21277) 2024-10-25 08:05:05 +00:00
form-helpers
group-management Merge pull request #21712 from overleaf/ii-flexible-group-licensing-confirmation-page 2024-11-12 09:04:35 +00:00
header-footer-react
history Merge pull request #21680 from overleaf/rd-dyslexic-font 2024-11-11 09:04:42 +00:00
hotkeys-modal/components
ide-react Add confirm modal on accept/reject selected changes (#21540) 2024-11-12 09:06:01 +00:00
link-helpers
mathjax
multi-submit
outline/components
pdf-preview [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
plans Merge pull request #21556 from overleaf/em-subscription-change-interstitial 2024-11-07 09:04:49 +00:00
preview
project-list Merge pull request #21566 from overleaf/td-bs5-website-redesign 2024-11-05 09:05:30 +00:00
review-panel-new Add confirm modal on accept/reject selected changes (#21540) 2024-11-12 09:06:01 +00:00
settings Merge pull request #21566 from overleaf/td-bs5-website-redesign 2024-11-05 09:05:30 +00:00
share-project-modal
source-editor Improve selection detection for "Add comment" tooltip (#21731) 2024-11-12 09:05:57 +00:00
subscription Merge pull request #21745 from overleaf/em-subscription-change-preview-pay-now 2024-11-15 09:05:00 +00:00
token-access/components
tooltip Merge pull request #21733 from overleaf/jel-tooltip-badges 2024-11-11 09:05:26 +00:00
ui/components [web] Changes to recompile button in Bootstrap 5 (#21586) 2024-11-15 09:05:25 +00:00
utils
word-count-modal