Skip to content

Instantly share code, notes, and snippets.

@foxt
Created December 15, 2023 14:57
Show Gist options
  • Save foxt/33aeea80fad187b1d33829511c7ea697 to your computer and use it in GitHub Desktop.
Save foxt/33aeea80fad187b1d33829511c7ea697 to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name Unifi Network - Rotate Topography 90deg
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Rotates the topography 90deg in the Unifi Network dashboard.
@author foxt
==/UserStyle== */
#unifi-network-app-container .topology-svg-container {
transform: rotate(90deg) translate(0%,-100%);
overflow: visible;
transform-origin: top left;
min-width: 100vh;
max-width: 100vh;
max-height: 100vw;
min-height: 100vw;
}
#unifi-network-app-container .topology-svg-container foreignObject,
#unifi-network-app-container .topology-svg-container text{
transform: rotate(-90deg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment