mirror of
https://github.com/directus/directus.git
synced 2026-01-28 07:48:04 -05:00
Add a standardized max-height to tree select interface (#7103)
This commit is contained in:
@@ -73,12 +73,21 @@ export default defineComponent({
|
||||
|
||||
<style scoped>
|
||||
.select-multiple-checkbox-tree {
|
||||
max-height: var(--input-height-max);
|
||||
overflow: auto;
|
||||
border: var(--border-width) solid var(--border-normal);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.search {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
padding: 10px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.search .v-input {
|
||||
box-shadow: 0 0 4px 4px var(--background-page);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
:root {
|
||||
--brand: var(--primary); // will be overriden with directus_settings.project_color
|
||||
--white: #fff;
|
||||
--black: #090C0D;
|
||||
--black: #090c0d;
|
||||
--transition: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--transition-in: cubic-bezier(0, 0, 0.2, 1);
|
||||
--transition-out: cubic-bezier(0.4, 0, 1, 1);
|
||||
@@ -14,6 +14,7 @@
|
||||
--border-radius: 4px;
|
||||
--input-height: 52px;
|
||||
--input-height-tall: 168px;
|
||||
--input-height-max: 500px;
|
||||
--input-padding: 12px;
|
||||
--form-column-width: 300px;
|
||||
--form-column-max-width: 380px;
|
||||
|
||||
Reference in New Issue
Block a user