Skip to content

Commit

Permalink
UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAndBear committed Sep 10, 2024
1 parent c4da228 commit 20f5cf9
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions packages/web-pkg/src/components/CreateLinkModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
class="link-modal-confirm oc-modal-body-actions-confirm-secondary-trigger"
appearance="filled"
variation="primary"
gap-size="xsmall"
:disabled="confirmButtonDisabled"
>
<oc-icon size="small" name="arrow-down-s" />
Expand All @@ -98,12 +97,16 @@
mode="click"
close-on-click
>
<oc-button
class="oc-modal-body-actions-confirm-password"
appearance="raw"
@click="onConfirm({ copyPassword: true })"
>{{ $gettext('Copy link and password') }}
</oc-button>
<oc-list class="oc-modal-body-actions-confirm-secondary-menu">
<li class="oc-rounded oc-menu-item-hover">
<oc-button
class="oc-modal-body-actions-confirm-password action-menu-item"
appearance="raw"
@click="onConfirm({ copyPassword: true })"
>{{ $gettext('Copy link and password') }}
</oc-button>
</li>
</oc-list>
</oc-drop>
</div>
</div>
Expand Down Expand Up @@ -375,12 +378,20 @@ export default defineComponent({
.link-modal-confirm-button-group {
outline: 0;
}
:nth-child(2) {
background: var(--oc-color-swatch-primary-gradient);
.oc-modal-body-actions-confirm-secondary-menu {
.action-menu-item {
width: 100%;
justify-content: flex-start;
}
}
.oc-modal-body-actions-confirm-secondary-trigger {
background: var(--oc-color-swatch-primary-gradient);
padding: var(--oc-space-xsmall);
}
.role-dropdown-list span {
line-height: 1.3;
}
Expand Down

0 comments on commit 20f5cf9

Please sign in to comment.