Make click on OpenAPI property name selects the entire text (#2249)

This commit is contained in:
Samy Pessé
2024-03-28 21:44:03 +00:00
committed by GitHub
parent 5f1d82cb5a
commit d0ef225ea3
@@ -106,8 +106,14 @@
@apply mt-3;
}
.openapi-schema-name {
/* To make double click on the property name select only the name,
we disable selection on the parent and re-enable it on the children. */
@apply select-none;
}
.openapi-schema-propertyname {
@apply font-medium text-base text-dark/10 dark:text-light/10;
@apply select-all font-medium text-base text-dark/10 dark:text-light/10;
}
.openapi-schema-required {
@@ -115,7 +121,7 @@
}
.openapi-schema-type {
@apply font-mono ml-3 text-base text-dark-4/8 dark:text-light-4;
@apply font-mono ml-3 text-base text-dark-4/8 dark:text-light-4 select-text;
}
.openapi-schema-type:only-child {