Update styles
This commit is contained in:
@@ -14,10 +14,17 @@ onMount(() => {
|
||||
return
|
||||
}
|
||||
|
||||
if (Math.random() < 0.1) {
|
||||
// 10% pixeldrain socials
|
||||
// 45% nextmillennium
|
||||
// 45% pixfuture
|
||||
|
||||
let rand = Math.random()
|
||||
if (rand < 0.1) {
|
||||
set_ad_type("pixeldrain_social")
|
||||
} else {
|
||||
} else if (rand < 0.55) {
|
||||
set_ad_type("nextmillennium")
|
||||
} else {
|
||||
set_ad_type("pixfuture")
|
||||
}
|
||||
})
|
||||
|
||||
|
@@ -152,10 +152,10 @@ let delete_list = async e => {
|
||||
|
||||
{#if list.can_edit}
|
||||
<h3>Edit album</h3>
|
||||
<h4>Rename</h4>
|
||||
Name:<br/>
|
||||
<form on:submit={rename_list} style="display: flex;">
|
||||
<input bind:value={list_name} type="text" style="flex: 1 1 auto"/>
|
||||
<button type="submit" style="flex: 0 0 auto">
|
||||
<button type="submit" style="flex: 0 0 auto" class="button_highlight">
|
||||
<i class="icon">save</i> Save
|
||||
</button>
|
||||
</form>
|
||||
@@ -171,10 +171,10 @@ let delete_list = async e => {
|
||||
|
||||
{#if file.can_edit}
|
||||
<h3>Edit file</h3>
|
||||
<h4>Rename</h4>
|
||||
Name:<br/>
|
||||
<form on:submit={rename_file} style="display: flex;">
|
||||
<input bind:value={file_name} type="text" style="flex: 1 1 auto"/>
|
||||
<button type="submit" style="flex: 0 0 auto">
|
||||
<button type="submit" style="flex: 0 0 auto" class="button_highlight">
|
||||
<i class="icon">save</i> Save
|
||||
</button>
|
||||
</form>
|
||||
|
@@ -204,4 +204,7 @@ const update_example = () => {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tab_bar {
|
||||
border-bottom: 2px solid var(--separator);
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user