Webview margins (#1583)

* Improve side margins in card info screen

* Improve top margin in deck options screen

* Hide revlog time of day on narrow screens

* Remove monospace for now (dae)
This commit is contained in:
RumovZ 2022-01-17 06:04:25 +01:00 committed by GitHub
parent eba21780e1
commit 0e06a1c679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -39,7 +39,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
} }
</script> </script>
<Container breakpoint="md" --gutter-inline="0.25rem" --gutter-block="0.5rem"> <Container breakpoint="md" --gutter-inline="1rem" --gutter-block="0.5rem">
{#if stats} {#if stats}
<Row> <Row>
<CardStats {stats} /> <CardStats {stats} />

View File

@ -82,7 +82,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<div class="column-head">{tr2.cardStatsReviewLogDate()}</div> <div class="column-head">{tr2.cardStatsReviewLogDate()}</div>
<div class="column-content"> <div class="column-content">
{#each revlogRows as row, _index} {#each revlogRows as row, _index}
<div><b>{row.date}</b> @ {row.time}</div> <div>
<b>{row.date}</b>
<span class="hidden-xs">@ {row.time}</span>
</div>
{/each} {/each}
</div> </div>
</div> </div>

View File

@ -87,7 +87,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
bind:modalKey bind:modalKey
/> />
<StickyContainer --gutter-block="0.1rem" --sticky-borders="0 0 1px" breakpoint="sm"> <StickyContainer --gutter-block="0.5rem" --sticky-borders="0 0 1px" breakpoint="sm">
<ButtonToolbar class="justify-content-between" size={2.3} wrap={false}> <ButtonToolbar class="justify-content-between" size={2.3} wrap={false}>
<Item> <Item>
<ButtonGroup class="flex-grow-1"> <ButtonGroup class="flex-grow-1">