Skip to content

Commit

Permalink
Use padding instead of margin in section titles
Browse files Browse the repository at this point in the history
this will scroll into view the element with some whitespace
on top upon cliching a navigation entry

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
  • Loading branch information
marcoambrosini committed Jun 2, 2022
1 parent ece6e1b commit c7eb826
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/AppSettingsSection/AppSettingsSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export default {
margin-bottom: 80px;
&__title {
font-size: 20px;
margin: 0;
padding: 20px 0;
font-weight: bold;
overflow: hidden;
white-space: nowrap;
Expand Down

0 comments on commit c7eb826

Please sign in to comment.