style(notes): constrain public note list to a centered column
All checks were successful
CI / verify (push) Successful in 2m4s
All checks were successful
CI / verify (push) Successful in 2m4s
Full-bleed rows flung the author/date meta to the far edge on wide screens. Cap the list and tabs to a 42rem centered column, stack the meta tight under the title, and drop the button padding on titles.
This commit is contained in:
@@ -45,8 +45,9 @@ defineSlots<{
|
||||
|
||||
<style scoped lang="scss">
|
||||
ul {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
width: 100%;
|
||||
max-width: 42rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
li {
|
||||
@@ -57,17 +58,19 @@ li {
|
||||
}
|
||||
|
||||
a {
|
||||
padding-left: 0;
|
||||
padding: 0;
|
||||
min-height: 0;
|
||||
height: auto;
|
||||
text-align: left;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.alias {
|
||||
text-align: right;
|
||||
text-align: left;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 0.5rem;
|
||||
justify-content: flex-start;
|
||||
margin-top: 0.125rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -130,6 +130,12 @@ const openProfile = () => {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
width: 100%;
|
||||
max-width: 42rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user