flex
This commit is contained in:
6
dist/index.html
vendored
6
dist/index.html
vendored
@@ -6,14 +6,14 @@
|
||||
<!-- <link rel="stylesheet" href="https://rsms.me/inter/inter.css"> -->
|
||||
<title>R-Dashboard</title>
|
||||
|
||||
<link rel="preload" href="/r-dashboard-62a84ba8161e70ff_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
|
||||
<link rel="modulepreload" href="/r-dashboard-62a84ba8161e70ff.js"></head>
|
||||
<link rel="preload" href="/r-dashboard-190d13071c713371_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
|
||||
<link rel="modulepreload" href="/r-dashboard-190d13071c713371.js"></head>
|
||||
<body>
|
||||
<div id="main"></div>
|
||||
<div class="lg:hidden bg-black"></div>
|
||||
|
||||
|
||||
<script type="module">import init from '/r-dashboard-62a84ba8161e70ff.js';init('/r-dashboard-62a84ba8161e70ff_bg.wasm');</script><script>(function () {
|
||||
<script type="module">import init from '/r-dashboard-190d13071c713371.js';init('/r-dashboard-190d13071c713371_bg.wasm');</script><script>(function () {
|
||||
var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
|
||||
var url = protocol + '//' + window.location.host + '/_trunk/ws';
|
||||
var poll_interval = 5000;
|
||||
|
||||
@@ -1080,7 +1080,7 @@ function initSync(module) {
|
||||
|
||||
async function init(input) {
|
||||
if (typeof input === 'undefined') {
|
||||
input = new URL('r-dashboard-62a84ba8161e70ff_bg.wasm', import.meta.url);
|
||||
input = new URL('r-dashboard-190d13071c713371_bg.wasm', import.meta.url);
|
||||
}
|
||||
const imports = getImports();
|
||||
|
||||
Binary file not shown.
4
dist/style.css
vendored
4
dist/style.css
vendored
@@ -1035,6 +1035,10 @@ select{
|
||||
width: 1.25rem;
|
||||
}
|
||||
|
||||
.w-56{
|
||||
width: 14rem;
|
||||
}
|
||||
|
||||
.w-12{
|
||||
width: 3rem;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: plucky
|
||||
* @Date: 2022-10-11 18:53:17
|
||||
* @LastEditTime: 2022-10-17 09:36:40
|
||||
* @LastEditTime: 2022-10-17 09:52:40
|
||||
* @Description:
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ pub fn view(cx:Scope)->Element{
|
||||
|
||||
// sidebar
|
||||
div{
|
||||
class: format_args!("fixed inset-y-0 left-0 z-30 w-48 overflow-y-auto transition duration-300 transform bg-gray-900 lg:translate-x-0 lg:static lg:inset-0 {}",
|
||||
class: format_args!("fixed inset-y-0 left-0 z-30 w-56 overflow-y-auto transition duration-300 transform bg-gray-900 lg:translate-x-0 lg:static lg:inset-0 {}",
|
||||
if *is_sidebar_open { "translate-x-0 ease-out " } else {"-translate-x-full ease-in" }),
|
||||
|
||||
// title
|
||||
@@ -51,7 +51,7 @@ pub fn view(cx:Scope)->Element{
|
||||
icons::icon_1 {}
|
||||
span {
|
||||
class: "mx-2 text-2xl font-semibold text-white",
|
||||
"Dashboard"
|
||||
"R-Dashboard"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user