From 959e5ca27672c40a0b9211dca43e9f0ac505463f Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 26 Jan 2021 14:28:53 +0100 Subject: [PATCH] Remove duplicate definition of .copyable-text and improve table layout --- assets/sass/layout.scss | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index 9e14352..4f4124b 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -693,6 +693,7 @@ td.actions { th { border-bottom: 1px solid #39434a; + white-space: nowrap; } tr:nth-child(even) { @@ -859,37 +860,7 @@ td.actions { } .content { - overflow: hidden; - white-space: nowrap; - padding: 8px; - } - - .copy-button { - margin: 0; - padding: 0; - border-radius: 0; - - .feather { - --icon-size: 20px; - margin: 8px; - } - } -} - -.copyable-text { - display: flex; - flex-direction: row; - margin: 8px; - - background-color: darken($backgroundColor, 2%); - border-radius: 5px; - overflow: hidden; - - .title { - padding: 8px; - } - - .content { + width: 0; flex-grow: 1; overflow: hidden; white-space: nowrap; @@ -939,3 +910,7 @@ td.actions { background: $secondary; } } + +.table-col-grow { + width: 100%; +}