Mercurial > gemma
view client/src/views/Main.vue @ 32:0c19dcc352f9
Dynamic height of dialogbox
Depending on status (loginfailed) the height of
the loginmask is now dynamic.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 26 Jun 2018 13:43:14 +0200 |
parents | 7ba0a77fd679 |
children | 5e95c62a7e74 |
line wrap: on
line source
<template> <div class="main d-flex"> <div class="sidebar">Sidebar!</div> <Map></Map> </div> </template> <style lang="scss"> @import "../assets/application.scss"; $sidebar-full-width: 150px; $sidebar-collapsed-width: 80px; .main { height: 100vh; } .sidebar { padding-top: $large-offset; width: $sidebar-full-width; } #map { background-color: #ffffff; width: 100%; } </style> <script> import Map from "./Map"; export default { name: "mainview", components: { Map } }; </script>