Fixes #417: README is missing some permissions (#419)

* Add resize listener and height calculation

* Fixed typos

* add permissions for new views
This commit is contained in:
Mario
2023-10-29 14:56:42 +01:00
committed by GitHub
parent a23604261a
commit b3397f4f4a
6 changed files with 74 additions and 11 deletions
@@ -1 +1,23 @@
#visgraph{height:64vh}html[data-netbox-color-mode=dark] #visgraph{background-color:#212529}.image-dropdown img{width:64px;height:64px}.image-dropdown-content{display:flex;flex-wrap:wrap;gap:.5rem;padding-inline:.5rem;width:50vw;max-width:32rem}.image-dropdown-content>img{cursor:pointer}
#visgraph {
height:64vh;
border: 1px solid #ced4da
}
html[data-netbox-color-mode=dark]
#visgraph {
background-color:#212529;
border: 1px solid #495057
}
.image-dropdown img {
width:64px;height:64px
}
.image-dropdown-content {
display:flex;
flex-wrap:wrap;
gap:.5rem;
padding-inline:.5rem;
width:50vw;
max-width:32rem
}
.image-dropdown-content>img {
cursor:pointer
}