.teleportflow { flex-direction: column; display: flex; height: 100%; } .teleportflow aside { color: white; font-weight: 700; border-right: 1px solid #eee; padding: 15px 10px; font-size: 12px; background: rgba(16, 185, 129, 0.75); -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3); box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3); } .teleportflow aside .port > * { position: relative; margin-bottom: 10px; cursor: grab; font-weight: 500; -webkit-box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.25); box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.25); } .teleportflow aside .description { margin-bottom: 10px; } .teleportflow .vue-flow-wrapper { flex-grow: 1; height: 100%; } @media screen and (min-width: 640px) { .teleportflow { flex-direction: row; } .teleportflow aside { min-width: 25%; } } @media screen and (max-width: 639px) { .teleportflow aside .port { display: flex; flex-direction: row; gap: 5px; } } .teleportable { padding: 10px; background: white; border: 1px solid black; border-radius: 10px; color: black }