Update: Python Online板卡下支持挂载本地文件夹到pyodide

This commit is contained in:
王立帮
2024-11-26 23:09:41 +08:00
parent 5411a188f7
commit b984af1998
18 changed files with 660 additions and 84 deletions

View File

@@ -0,0 +1,26 @@
<style>
div[m-id="{{d.mId}}"] {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
div[m-id="{{d.mId}}"] > div {
width: 150px;
height: 150px;
}
html[data-bs-theme=light] div[m-id="{{d.mId}}"] > div {
background: url('../common/css/svg/empty/empty-light.svg');
background-size: 100% auto;
}
html[data-bs-theme=dark] div[m-id="{{d.mId}}"] > div {
background: url('../common/css/svg/empty/empty-dark.svg');
background-size: 100% auto;
}
</style>
<div m-id="{{d.mId}}" class="page-item">
<div></div>
</div>