From da27d2c43a7a077a2ad44229f91b3b4dbf6ea3cf Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 10 May 2023 12:05:05 -0400 Subject: [PATCH] [Site] Fixing "copy" button breaking onto next line on some smaller screens --- ux.symfony.com/assets/styles/_terminal.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ux.symfony.com/assets/styles/_terminal.scss b/ux.symfony.com/assets/styles/_terminal.scss index cd60c602ea7..965a5da8a86 100644 --- a/ux.symfony.com/assets/styles/_terminal.scss +++ b/ux.symfony.com/assets/styles/_terminal.scss @@ -19,6 +19,9 @@ .terminal-code a.filename-header { color: white; display: inline-block; + flex-shrink: 1; + overflow: hidden; + text-overflow: ellipsis; } .terminal-wrapper .terminal-controls { @@ -62,6 +65,9 @@ .terminal-code .btn-copy:hover { background-color: $n-600; } +.terminal-code .code-buttons { + white-space: nowrap; +} /* copy button inside the code block itself */ .terminal-code .terminal-body .code-buttons { position: absolute;