Skip to content

Commit e135a59

Browse files
Merge pull request #54841 from nextcloud/fix/files-inline-sharing-status
fix(files_sharing): add some gap between text and sharing status icon
2 parents 0a8fbcf + 56f0d67 commit e135a59

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

apps/files_sharing/src/files_actions/sharingStatusAction.scss

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@
44
*/
55
// Only when rendered inline, when not enough space, this is put in the menu
66
.action-items > .files-list__row-action-sharing-status {
7-
// put icon at the end of the button
8-
direction: rtl;
97
// align icons with text-less inline actions
10-
padding-inline-end: 0 !important;
8+
padding-inline: 0 !important;
9+
10+
.button-vue__wrapper {
11+
// put icon at the end of the button
12+
flex-direction: row-reverse;
13+
gap: var(--default-grid-baseline);
14+
}
1115
}
1216

1317
svg.sharing-status__avatar {
14-
height: 32px !important;
15-
width: 32px !important;
16-
max-height: 32px !important;
17-
max-width: 32px !important;
18-
border-radius: 32px;
18+
height: var(--button-inner-size, 32px) !important;
19+
width: var(--button-inner-size, 32px) !important;
20+
max-height: var(--button-inner-size, 32px) !important;
21+
max-width: var(--button-inner-size, 32px) !important;
22+
border-radius: var(--button-inner-size, 32px);
1923
overflow: hidden;
2024
}
2125

dist/files_sharing-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)