Skip to content

Commit

Permalink
fix: adjust personal settings to compact design
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny committed Aug 12, 2024
1 parent 1ad431f commit f7950be
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/Device.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="webauthn-device" :data-webauthn-id="id">
<span class="icon-webauthn-device" :class="{ disabled: !active }" />
{{ name || t('twofactor_webauthn', 'Unnamed key') }}
<Actions>
<Actions class="webauthn-device__actions">
<ActionText v-if="createdAt" :title="t('twofactor_webauthn', 'Registered')">
<template #icon>
<InformationOutline :size="20" />
Expand Down Expand Up @@ -105,10 +105,14 @@ export default {
}
</script>

<style scoped>
<style lang="scss" scoped>
.webauthn-device {
line-height: 300%;
line-height: var(--default-clickable-area);
display: flex;
&__actions {
margin-left: var(--default-grid-baseline);
}
}
.device__created_at {
Expand Down

0 comments on commit f7950be

Please sign in to comment.