Better CSS for the ssb app to fill the iframe?
This commit is contained in:
parent
c674cca482
commit
b9a73106ed
@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "tildefriends-app",
|
||||
"emoji": "🐌",
|
||||
"previous": "&W98iW3aUxCvTQovPohAd500SpJyOEwsVPDe4hoHaVMg=.sha256"
|
||||
"previous": "&sR39JhvUCRlOv7hdEWV81RWWkyoPGLg6u4w+BfqUE9s=.sha256"
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin: 0; padding: 0; background: #000">
|
||||
<body style="margin: 0; padding: 0">
|
||||
<tf-app/>
|
||||
<script>
|
||||
window.litDisableBundleWarning = true;
|
||||
|
@ -352,7 +352,7 @@ class TfElement extends LitElement {
|
||||
};
|
||||
|
||||
let tabs = html`
|
||||
<div class="w3-bar w3-theme-l1 min-height: 100%">
|
||||
<div class="w3-bar w3-theme-l1">
|
||||
${Object.entries(k_tabs).map(
|
||||
([k, v]) => html`
|
||||
<button
|
||||
@ -375,13 +375,15 @@ class TfElement extends LitElement {
|
||||
: html`<div>Select or create an identity.</div>`
|
||||
: this.render_tab();
|
||||
return html`
|
||||
<div style="padding: 8px" class="w3-theme-dark">
|
||||
<div style="width: 100vw; min-height: 100vh; height: 100%" class="w3-theme-dark">
|
||||
<div style="padding: 8px">
|
||||
${this.render_id_picker()} ${tabs}
|
||||
${this.tags.map(
|
||||
(x) => html`<tf-tag tag=${x.tag} count=${x.count}></tf-tag>`
|
||||
)}
|
||||
${contents}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user