update
This commit is contained in:
56
demo.html
Normal file
56
demo.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Social.io Catalog Demo</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
font-family: sans-serif;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.demo-section {
|
||||
margin: 20px 0;
|
||||
padding: 20px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.component-container {
|
||||
position: relative;
|
||||
height: 600px;
|
||||
margin: 20px 0;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
}
|
||||
sio-combox {
|
||||
position: relative !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
right: auto !important;
|
||||
}
|
||||
</style>
|
||||
<script type="module" src="./dist_bundle/bundle.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="demo-section">
|
||||
<h2>Combox Component</h2>
|
||||
<div class="component-container">
|
||||
<sio-combox></sio-combox>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="demo-section">
|
||||
<h2>FAB with Combox</h2>
|
||||
<div style="position: relative; height: 700px;">
|
||||
<sio-fab showCombox></sio-fab>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user