Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3bee7af

Browse files
committed
Display copy button only on hover
1 parent 18d25cd commit 3bee7af

File tree

1 file changed

+2
-1
lines changed
  • src/Symfony/Component/ErrorHandler/Resources/assets/css

1 file changed

+2
-1
lines changed

src/Symfony/Component/ErrorHandler/Resources/assets/css/exception.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ header .container { display: flex; justify-content: space-between; }
227227
.trace-line a { color: var(--base-6); }
228228
.trace-line .icon { opacity: .4; position: absolute; left: 10px; top: 11px; }
229229
.trace-line .icon svg { fill: var(--base-5); height: 16px; width: 16px; }
230-
.trace-line .icon.icon-copy { left: auto; top: auto; padding-left: 5px; }
230+
.trace-line .icon.icon-copy { left: auto; top: auto; padding-left: 5px; display: none }
231+
.trace-line:hover .icon.icon-copy:not(.hidden) { display: inline-block }
231232
.trace-line-header { padding-left: 36px; padding-right: 10px; }
232233

233234
.trace-file-path, .trace-file-path a { color: var(--base-6); font-size: 13px; }

0 commit comments

Comments
 (0)