Skip to content

Commit 894c87b

Browse files
committed
chore: tweak
1 parent 9ab0fa3 commit 894c87b

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

Diff for: .stylelintrc.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ ignoreFiles:
1111
- '**/empty.scss'
1212

1313
rules:
14-
declaration-block-no-redundant-longhand-properties: true
1514
media-feature-range-notation: prefix
1615
no-descending-specificity: null
1716
# workaround for mixed-declarations
1817
no-duplicate-selectors: null
18+
declaration-block-no-redundant-longhand-properties:
19+
- true
20+
- ignoreShorthands:
21+
- 'margin-block'
22+
- 'margin-inline'
23+
- 'padding-inline'
24+
- 'padding-block'
1925

2026
overrides:
2127
- files:

Diff for: plugins/development/plugin-git/src/client/styles/changelog.scss

+14-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.vp-changelog {
2-
margin-block: 2rem 1rem;
3-
padding-inline: 0 1rem;
2+
margin-block-start: 2rem;
3+
margin-block-end: 1rem;
4+
padding-inline-start: 1rem;
5+
padding-inline-end: 1rem;
46
border-radius: 8px;
57

68
background-color: var(--changelog-bg);
@@ -24,7 +26,8 @@
2426
align-items: center;
2527
justify-content: space-between;
2628

27-
padding-block: 1rem;
29+
padding-block-start: 1rem;
30+
padding-block-end: 1rem;
2831

2932
font-weight: bold;
3033

@@ -55,24 +58,27 @@
5558
}
5659

5760
.vpi-changelog {
58-
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' d='M2.71 10.96a6.5 6.5 0 1 0-.69-3.53M2 8l1.5-1.5M2 8L.5 6.5m8 2v-4m0 4h3'/%3E%3C/svg%3E");
61+
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' d='M2.71 10.96a6.5 6.5 0 1 0-.69-3.53M2 8l1.5-1.5M2 8L.5 6.5m8 2v-4m0 4h3'/%3E%3C/svg%3E");
5962
}
6063

6164
.vpi-changelog-menu {
62-
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 5h0.01'/%3E%3Cpath d='M8 5h12'/%3E%3Cpath d='M4 10h0.01'/%3E%3Cpath d='M8 10h12'/%3E%3Cpath d='M4 15h0.01'/%3E%3Cpath d='M8 15h12'/%3E%3Cpath d='M4 20h0.01'/%3E%3Cpath d='M8 20h12'/%3E%3C/g%3E%3C/svg%3E");
65+
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 5h0.01'/%3E%3Cpath d='M8 5h12'/%3E%3Cpath d='M4 10h0.01'/%3E%3Cpath d='M8 10h12'/%3E%3Cpath d='M4 15h0.01'/%3E%3Cpath d='M8 15h12'/%3E%3Cpath d='M4 20h0.01'/%3E%3Cpath d='M8 20h12'/%3E%3C/g%3E%3C/svg%3E");
6366
}
6467
}
6568

6669
.changelog-list {
6770
display: none;
68-
margin-block: 0.5rem;
71+
72+
margin-block-start: 0.5rem;
73+
margin-block-end: 0.5rem;
6974
padding-inline-start: 0;
75+
7076
list-style: none;
7177
}
7278

7379
&.active {
74-
padding-block: 0 0.5rem;
75-
padding-inline: 1rem;
80+
padding-block-start: 0;
81+
padding-block-end: 0.5rem;
7682

7783
.changelog-header {
7884
padding-block-end: 0.5rem;

0 commit comments

Comments
 (0)