From ed9bd54836b9c5f82cbc616886a4f929146f40a6 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Wed, 18 Jan 2023 11:44:33 +0100 Subject: [PATCH] Merge pull request #11308 from overleaf/revert-11289-mj-right-toolbar Revert "[web] Change pdf control toolbar alignment for CM6 RT" GitOrigin-RevId: 71e7941afbdb3e77186760e3d2a0ce3655bdbc1a --- .../web/frontend/stylesheets/app/editor.less | 25 ++++--------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/services/web/frontend/stylesheets/app/editor.less b/services/web/frontend/stylesheets/app/editor.less index 357c8e3992..57397a072e 100644 --- a/services/web/frontend/stylesheets/app/editor.less +++ b/services/web/frontend/stylesheets/app/editor.less @@ -154,7 +154,6 @@ overflow: hidden; position: relative; z-index: 10; // Prevent track changes showing over toolbar - justify-content: space-between; .btn-recompile-group { margin-right: -5px; @@ -174,27 +173,13 @@ &.toolbar-wrap { min-height: @editor-toolbar-height; height: unset; // Allow to grow if buttons wrap - .toolbar-line-wrapper { - flex-wrap: wrap; + flex-wrap: wrap; + + .formatting-buttons { + flex-grow: 1 0 auto; + width: unset; } } - .formatting-buttons { - flex: 1 1 auto; - width: unset; - min-width: 0; - overflow: hidden; - } - .toolbar-pdf-right { - justify-content: flex-end; - flex: 0 0 auto; - } - .toolbar-line-wrapper { - display: flex; - flex: 1 1 auto; - flex-wrap: nowrap; - min-width: 0; - overflow: hidden; - } } .loading-screen {