Skip to content

Commit

Permalink
#2218 Adjust styling to improve reflow on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Dec 30, 2024
1 parent e4254ca commit 33ff951
Showing 1 changed file with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,18 +279,22 @@ const onGroupsToggle = () => {
<div class="" data-cy="skillDetailsToggle">
<div class="flex flex-row align-content-center">
<span class="text-muted pr-1 align-content-center" v-if="!route.params.badgeId">Expand Groups:</span>
<InputSwitch v-model="expandGroups"
v-if="!route.params.badgeId"
@change="onGroupsToggle"
aria-label="Expand Groups"
data-cy="expandGroupsSwitch" />
<span class="text-muted pr-1 ml-3 align-content-center">{{ attributes.skillDisplayName }} Details:</span>
<InputSwitch v-model="showDescriptionsInternal"
@change="onDetailsToggle"
:aria-label="`Show ${attributes.skillDisplayName} Details`"
data-cy="toggleSkillDetails" />
<div class="flex flex-row flex-wrap align-content-center">
<div class="flex mr-3">
<span class="text-muted pr-1 align-content-center" v-if="!route.params.badgeId">Expand Groups:</span>
<InputSwitch v-model="expandGroups"
v-if="!route.params.badgeId"
@change="onGroupsToggle"
aria-label="Expand Groups"
data-cy="expandGroupsSwitch" />
</div>
<div class="flex">
<span class="text-muted pr-1 align-content-center">{{ attributes.skillDisplayName }} Details:</span>
<InputSwitch v-model="showDescriptionsInternal"
@change="onDetailsToggle"
:aria-label="`Show ${attributes.skillDisplayName} Details`"
data-cy="toggleSkillDetails" />
</div>
</div>
</div>
Expand Down

0 comments on commit 33ff951

Please sign in to comment.