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"> <style lang="scss">
.outer { .outer {
margin-top: 1em;
display: grid; display: grid;
grid-template-columns: 2fr 1fr; grid-template-columns: 2fr 1fr;
grid-column-gap: 0.5em; grid-column-gap: 0.5em;
grid-row-gap: 0.5em;
} }
.full-grid-width { .full-grid-width {

View file

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

View file

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

View file

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