Skip to content

Commit

Permalink
added padding to config tabs to optimize usability in mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Omer Siddiqui authored and Omer Siddiqui committed May 7, 2024
1 parent 05fe9a4 commit 7cfaea0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/.vuepress/styles/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,14 @@ li a[href="/specification/00-Abstract/"] {
display: block;
}

// mobile styles
@media (max-width: 520px) {

.supportersTabs > div > div > nav > a.text-sm {
font-size: 0.83rem !important;
}

.configTabs > div > div > nav > a.text-sm {
padding: 10px 14px;
}
}
1 change: 1 addition & 0 deletions src/.vuepress/theme/layouts/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
</h2>

<Tabs
class="configTabs"
:tabs="data.configurationTabs"
:selected="selectedConfigurationTab"
@tab-selected="selectedConfigurationTab = $event"
Expand Down

0 comments on commit 7cfaea0

Please sign in to comment.