Parcourir la source

Inspector: Enhancing the style details

sunag il y a 3 mois
Parent
commit
babfd573e9
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      examples/jsm/inspector/ui/Style.js

+ 6 - 0
examples/jsm/inspector/ui/Style.js

@@ -879,6 +879,7 @@ export class Style {
 	border-bottom: none;
 	user-select: none;
 	-webkit-user-select: none;
+	min-height: 31px;
 }
 
 .list-item-wrapper {
@@ -912,6 +913,7 @@ export class Style {
 
 .list-item-row.collapsible {
 	background-color: rgba(0, 170, 255, 0.15) !important;
+	min-height: 23px;
 }
 
 .list-item-row.collapsible.alert,
@@ -1301,6 +1303,10 @@ export class Style {
 	height: 8px;
 }
 
+.mini-panel-content .list-container.parameters .list-item-row:not(.collapsible) {
+	margin-bottom: 2px;
+}
+
 @media screen and (max-width: 450px) and (orientation: portrait) {
 
 	.console-filter-input {

粤ICP备19079148号