Skip to content

Commit 726234a

Browse files
Fix styles for ordered lists after css reset
1 parent b1e56bf commit 726234a

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

stylesheets/components/BadgeSustainerInstructionsDialog.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
&__instructions {
2525
@include mixins.font-body-2;
2626
padding: 0;
27+
list-style-type: decimal;
2728
list-style-position: inside;
2829

2930
&::before {

stylesheets/components/InstallScreenQrCodeNotScannedStep.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@
178178
ol {
179179
@include mixins.font-body-1;
180180
line-height: 26px;
181+
list-style-type: decimal;
181182
list-style-position: inside;
183+
margin-block: 8px;
182184
padding-inline-start: 0;
183185
}
184186

ts/components/CallScreen.stories.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type OverridePropsBase = {
6262
outgoingRing?: boolean;
6363
reactions?: ActiveCallReactionsType;
6464
myAci?: AciString;
65+
showNeedsScreenRecordingPermissionsWarning?: boolean;
6566
};
6667

6768
type DirectCallOverrideProps = OverridePropsBase & {
@@ -198,6 +199,8 @@ const createActiveCallProp = (
198199
settingsDialogOpen: false,
199200
selfViewExpanded: overrideProps.selfViewExpanded ?? false,
200201
showParticipantsList: false,
202+
showNeedsScreenRecordingPermissionsWarning:
203+
overrideProps.showNeedsScreenRecordingPermissionsWarning ?? false,
201204
};
202205

203206
switch (overrideProps.callMode) {
@@ -1143,3 +1146,14 @@ export function RemoteMuteObserveIgnoreSelfMute(): JSX.Element {
11431146
}, [myAci]);
11441147
return <CallScreen {...props} />;
11451148
}
1149+
1150+
export function ShowNeedsScreenRecordingPermissionsWarning(): JSX.Element {
1151+
return (
1152+
<CallScreen
1153+
{...createProps({
1154+
callMode: CallMode.Direct,
1155+
showNeedsScreenRecordingPermissionsWarning: true,
1156+
})}
1157+
/>
1158+
);
1159+
}

ts/components/NeedsScreenRecordingPermissionsModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type { LocalizerType } from '../types/Util.js';
66
import { Theme } from '../util/theme.js';
77
import { Modal } from './Modal.js';
88
import { Button, ButtonVariant } from './Button.js';
9+
import { tw } from '../axo/tw.js';
910

1011
type PropsType = {
1112
i18n: LocalizerType;
@@ -54,7 +55,7 @@ export function NeedsScreenRecordingPermissionsModal({
5455
modalFooter={footer}
5556
>
5657
<p>{i18n('icu:calling__presenting--macos-permission-description')}</p>
57-
<ol style={{ paddingLeft: 16 }}>
58+
<ol className={tw('mt-2 list-decimal ps-4')}>
5859
<li>{i18n('icu:calling__presenting--permission-instruction-step1')}</li>
5960
<li>{i18n('icu:calling__presenting--permission-instruction-step2')}</li>
6061
<li>{i18n('icu:calling__presenting--permission-instruction-step3')}</li>

0 commit comments

Comments
 (0)