mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 16:58:11 +08:00
Improve the Data panel's data display with monospaced text and copyable number values (#4040)
* Improve the Data panel's data display with monospaced text and copyable number values * Revert attempted fix for dropdown menus appearing lower in scrolled Properties panel, since it makes other floating menus freeze the app * Code review
This commit is contained in:
@@ -261,9 +261,27 @@
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
tab-size: 4;
|
||||
color: var(--color-e-nearwhite);
|
||||
}
|
||||
|
||||
body,
|
||||
textarea,
|
||||
input {
|
||||
&::selection {
|
||||
background-color: var(--color-4-dimgray);
|
||||
|
||||
// Target only Safari
|
||||
@supports (background: -webkit-named-image(i)) {
|
||||
& {
|
||||
// Setting an alpha value opts out of Safari's "fancy" (but not visible on dark backgrounds) selection highlight rendering
|
||||
// https://stackoverflow.com/a/71753552/775283
|
||||
background-color: rgba(var(--color-4-dimgray-rgb), calc(254 / 255));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
svg,
|
||||
img {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user