feat: left align widget "add" buttons (#153)

This commit is contained in:
connorhaugh
2022-12-01 12:20:29 -05:00
committed by GitHub
parent 6a2bafb402
commit 35b58a42b5
10 changed files with 16 additions and 16 deletions

View File

@@ -47,7 +47,7 @@ exports[`HandoutWidget snapshots snapshots: renders as expected with default pro
id="authoring.videoeditor.handout.upload.addHandoutMessage"
/>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"

View File

@@ -96,7 +96,7 @@ export const HandoutWidget = ({
<Stack gap={3}>
<FormattedMessage {...messages.addHandoutMessage} />
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
size="sm"
iconBefore={FileUpload}
onClick={fileInput.click}

View File

@@ -47,7 +47,7 @@ exports[`LicenseWidget snapshots snapshots: renders as expected with default pro
className="border-primary-100 border-bottom"
/>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"

View File

@@ -71,7 +71,7 @@ export const LicenseWidget = ({
<>
<div className="border-primary-100 border-bottom" />
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
size="sm"
iconBefore={Add}
variant="link"

View File

@@ -132,7 +132,7 @@ exports[`ThumbnailWidget snapshots snapshots: renders as expected where videoTyp
}
/>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
disabled={false}
onClick={[Function]}
size="sm"
@@ -242,7 +242,7 @@ exports[`ThumbnailWidget snapshots snapshots: renders as expected with default p
}
/>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
disabled={true}
onClick={[Function]}
size="sm"

View File

@@ -107,7 +107,7 @@ export const ThumbnailWidget = ({
</div>
<FileInput fileInput={fileInput} acceptedFiles={Object.values(acceptedImgKeys).join()} />
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
size="sm"
iconBefore={FileUpload}
onClick={fileInput.click}

View File

@@ -103,7 +103,7 @@ exports[`TranscriptWidget component snapshots snapshot: renders ErrorAlert with
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"
@@ -226,7 +226,7 @@ exports[`TranscriptWidget component snapshots snapshot: renders ErrorAlert with
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"
@@ -345,7 +345,7 @@ exports[`TranscriptWidget component snapshots snapshots: renders as expected wit
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"
@@ -411,7 +411,7 @@ exports[`TranscriptWidget component snapshots snapshots: renders as expected wit
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"
@@ -530,7 +530,7 @@ exports[`TranscriptWidget component snapshots snapshots: renders as expected wit
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"
@@ -649,7 +649,7 @@ exports[`TranscriptWidget component snapshots snapshots: renders as expected wit
gap={3}
>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
onClick={[Function]}
size="sm"
variant="link"

View File

@@ -161,7 +161,7 @@ export const TranscriptWidget = ({
<Stack gap={3} className="border-primary-100 border-top">
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold justify-content-start pl-0"
size="sm"
iconBefore={Add}
variant="link"

View File

@@ -97,7 +97,7 @@ exports[`VideoSourceWidget snapshots snapshots: renders as expected with default
</ActionRow>
</Form.Group>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold pl-0"
onClick={[Function]}
size="sm"
variant="link"

View File

@@ -113,7 +113,7 @@ export const VideoSourceWidget = ({
</ActionRow>
</Form.Group>
<Button
className="text-primary-500 font-weight-bold"
className="text-primary-500 font-weight-bold pl-0"
size="sm"
iconBefore={Add}
variant="link"