File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
src/components/DocumentView/OpenAPI Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 106106 @apply mt-3;
107107}
108108
109+ .openapi-schema-name {
110+ /* To make double click on the property name select only the name,
111+ we disable selection on the parent and re-enable it on the children. */
112+ @apply select-none;
113+ }
114+
109115.openapi-schema-propertyname {
110- @apply font-medium text-base text-dark/10 dark:text-light/10;
116+ @apply select-all font-medium text-base text-dark/10 dark:text-light/10;
111117}
112118
113119.openapi-schema-required {
114120 @apply font-normal text-yellow-600;
115121}
116122
117123.openapi-schema-type {
118- @apply font-mono ml-3 text-base text-dark-4/8 dark:text-light-4;
124+ @apply font-mono ml-3 text-base text-dark-4/8 dark:text-light-4 select-text ;
119125}
120126
121127.openapi-schema-type : only-child {
You can’t perform that action at this time.
0 commit comments