more layout tweaks

- reduce maximum width
- de-emphasise revert and info buttons
- reduce grid margin
This commit is contained in:
Damien Elmes 2021-04-22 18:11:27 +10:00
parent a149048b0a
commit defd28caca
4 changed files with 11 additions and 13 deletions

View File

@ -17,10 +17,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style lang="scss">
.outer {
margin-top: 1em;
display: grid;
grid-template-columns: 2fr 1fr;
grid-column-gap: 0.5em;
grid-row-gap: 0.5em;
}
.full-grid-width {

View File

@ -21,16 +21,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script>
<style>
:global(svg) {
span :global(svg) {
vertical-align: text-bottom;
opacity: 0.3;
}
</style>
<span
href={'#'}
bind:this={ref}
data-toggle="tooltip"
data-placement="bottom"
title={html}>
<span bind:this={ref} title={html}>
{@html infoCircle}
</span>

View File

@ -22,12 +22,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
}
</script>
<style>
<style lang="scss">
.img-div {
display: flex;
}
:global(svg) {
align-self: center;
:global(svg) {
align-self: center;
opacity: 0.3;
}
}
</style>

View File

@ -20,7 +20,7 @@
}
body {
width: min(100vw, 40em);
width: min(100vw, 35em);
margin: 0 auto;
// leave some space for rounded screens
margin-bottom: 2em;