Skip to content

Commit

Permalink
Fix website font sizes and new clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechBarczynski committed Jul 26, 2024
1 parent fd57d4a commit 2373d60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions compositor_api/src/types/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ pub struct View {
/// Width of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub width: Option<f32>,
/// Height of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub height: Option<f32>,

Expand Down Expand Up @@ -129,13 +129,13 @@ pub struct Rescaler {
/// Width of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub width: Option<f32>,
/// Height of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub height: Option<f32>,

Expand Down Expand Up @@ -352,13 +352,13 @@ pub struct Tiles {
/// Width of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub width: Option<f32>,
/// Height of a component in pixels. Exact behavior might be different based on the parent
/// component:
/// - If the parent component is a layout, check sections "Absolute positioning" and "Static
/// positioning" of that component.
/// positioning" of that component.
/// - If the parent component is not a layout, then this field is required.
pub height: Option<f32>,

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function VisionCard(props: PropsWithChildren<VisionCardProps>) {
<Icon className={styles.icon} />
</div>
<div className="card__header">
<Heading as="h2" style={{ textAlign: 'center' }}>
<Heading as="h3" style={{ textAlign: 'center' }}>
{props.title}
</Heading>
</div>
Expand All @@ -233,7 +233,7 @@ type FeatureProps = {
function Feature(props: PropsWithChildren<FeatureProps>) {
const text = (
<div className="col">
<Heading as="h2" className="margin-top--sm">
<Heading as="h3" className="margin-top--sm">
{props.text}
</Heading>
<p>{props.secondaryText}</p>
Expand Down
8 changes: 4 additions & 4 deletions integration_tests/src/tests/push_input_before_start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::{
///
/// Output:
/// - Display entire input stream from the beginning (16 seconds). No black frames at the
/// beginning. Starts with a green color.
/// beginning. Starts with a green color.
/// - Black screen for remaining 4 seconds.
#[test]
pub fn push_input_before_start_tcp() -> Result<()> {
Expand Down Expand Up @@ -98,7 +98,7 @@ pub fn push_input_before_start_tcp() -> Result<()> {
///
/// Output:
/// - Display entire input stream from the beginning (16 seconds). No black frames at the
/// beginning. Starts with a green screen.
/// beginning. Starts with a green screen.
/// - Black screen for remaining 4 seconds.
#[test]
pub fn push_input_before_start_udp() -> Result<()> {
Expand Down Expand Up @@ -183,7 +183,7 @@ pub fn push_input_before_start_udp() -> Result<()> {
///
/// Output:
/// - Display input stream without initial 5 seconds from the beginning (11 seconds). Not black frames at the
/// beginning. Starts with a red color. Initial 5 second of input stream is missing.
/// beginning. Starts with a red color. Initial 5 second of input stream is missing.
/// - Black screen for remaining 9 seconds.
#[test]
pub fn push_input_before_start_tcp_no_offset() -> Result<()> {
Expand Down Expand Up @@ -268,7 +268,7 @@ pub fn push_input_before_start_tcp_no_offset() -> Result<()> {
///
/// Output:
/// - Display entire input stream from the beginning (16 seconds). No black frames at the
/// beginning. Starts with a red color. Initial 5 second of input stream is missing.
/// beginning. Starts with a red color. Initial 5 second of input stream is missing.
/// - Black screen for remaining 19 seconds.
#[test]
pub fn push_input_before_start_udp_no_offset() -> Result<()> {
Expand Down

0 comments on commit 2373d60

Please sign in to comment.