From 9a01a5446e5c02cb66cb0c4423daf4a3a50f6453 Mon Sep 17 00:00:00 2001 From: Niedziolka Michal <100634371+NiedziolkaMichal@users.noreply.github.com> Date: Sat, 5 Mar 2022 22:44:53 +0100 Subject: Fix for vertical-align examples in Dark Mode (#4401) * Fix for vertical-align examples in Dark Mode * Removed empty parameter Co-authored-by: Claas Augner * Removed empty parameter Co-authored-by: Claas Augner * Fix for other locale * Revert "Fix for other locale" This reverts commit 2e7b836b3a4fbbbe4d0150e14e4e55f4f75f9c04. * Fixed for other locale, without idea files * Removed invalid quote * Changed 100% to 1200px * Removed quotes Co-authored-by: Claas Augner --- files/de/web/css/vertical-align/index.html | 4 ++-- files/ja/web/css/vertical-align/index.md | 4 ++-- files/ko/web/css/vertical-align/index.html | 4 ++-- files/pt-br/web/css/vertical-align/index.html | 4 ++-- files/ru/web/css/vertical-align/index.html | 4 ++-- files/zh-cn/web/css/vertical-align/index.html | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'files') diff --git a/files/de/web/css/vertical-align/index.html b/files/de/web/css/vertical-align/index.html index 43d76f8a1d..dc247353c5 100644 --- a/files/de/web/css/vertical-align/index.html +++ b/files/de/web/css/vertical-align/index.html @@ -61,7 +61,7 @@ p { -

{{EmbedLiveSample("vertical-align-inline", 1200, 120, "", "", "example-outcome-frame")}}

+

{{EmbedLiveSample("vertical-align-inline", 1200, 160)}}

  • Um den Inhalt einer Zelle vertikal in einer Tabelle auszurichten:
  • @@ -100,7 +100,7 @@ td { -

    {{EmbedLiveSample("vertical-align-table", 1200, 210, "", "", "example-outcome-frame")}}

    +

    {{EmbedLiveSample("vertical-align-table", 1200, 230)}}

    Beachte, dass sich vertical-align nur auf inline- und Tabellenzellenelemente bezieht: es kann nicht eingesetzt werden um Block-level Elemente auszurichten.

    diff --git a/files/ja/web/css/vertical-align/index.md b/files/ja/web/css/vertical-align/index.md index 5ae9631f82..4f69ef7e47 100644 --- a/files/ja/web/css/vertical-align/index.md +++ b/files/ja/web/css/vertical-align/index.md @@ -174,7 +174,7 @@ p { #### 結果 -{{EmbedLiveSample("Vertical_alignment_in_a_line_box", '100%', 160, "", "")}} +{{EmbedLiveSample("Vertical_alignment_in_a_line_box", 1200, 160)}}

    表のセル内での垂直方向の配置

    @@ -218,7 +218,7 @@ td { #### 結果 -{{EmbedLiveSample("Vertical_alignment_in_a_table_cell", '100%', 230, "", "")}} +{{EmbedLiveSample("Vertical_alignment_in_a_table_cell", 1200, 230)}} ## 仕様書 diff --git a/files/ko/web/css/vertical-align/index.html b/files/ko/web/css/vertical-align/index.html index 0a139fbc61..92475d81e3 100644 --- a/files/ko/web/css/vertical-align/index.html +++ b/files/ko/web/css/vertical-align/index.html @@ -79,7 +79,7 @@ p { -

    {{EmbedLiveSample("vertical-align-inline", 1200, 120, "", "", "example-outcome-frame")}}

    +

    {{EmbedLiveSample("vertical-align-inline", 1200, 160)}}

    • table의 한 셀에서 포함하고 있는 내용을 수직 정렬할 때:
    • @@ -118,7 +118,7 @@ td { -

      {{EmbedLiveSample("vertical-align-table", 1200, 210, "", "", "example-outcome-frame")}}

      +

      {{EmbedLiveSample("vertical-align-table", 1200, 230)}}

      vertical-align은 오로지 inline과 table-cell 엘리먼트에만 적용된다는 것에 주의하세요: 이 속성을 block level 엘리먼트에 사용할 수 없습니다.

      diff --git a/files/pt-br/web/css/vertical-align/index.html b/files/pt-br/web/css/vertical-align/index.html index 5461771c73..623c7deb34 100644 --- a/files/pt-br/web/css/vertical-align/index.html +++ b/files/pt-br/web/css/vertical-align/index.html @@ -79,7 +79,7 @@ p { -

      {{EmbedLiveSample("vertical-align-inline", 1200, 120, "", "", "example-outcome-frame")}}

      +

      {{EmbedLiveSample("vertical-align-inline", 1200, 160)}}

      • Para alinhar verticalmente o conteudo de uma celula em uma tabela:
      • @@ -118,7 +118,7 @@ td { -

        {{EmbedLiveSample("vertical-align-table", 1200, 210, "", "", "example-outcome-frame")}}

        +

        {{EmbedLiveSample("vertical-align-table", 1200, 230)}}

        Observe que  vertical-align é aplicado apenas em elementos inline e table-cell: Você não pode usar isso para alinhar verticalmente elementos de nível de bloco.

        diff --git a/files/ru/web/css/vertical-align/index.html b/files/ru/web/css/vertical-align/index.html index 9074a6000f..99f06f3732 100644 --- a/files/ru/web/css/vertical-align/index.html +++ b/files/ru/web/css/vertical-align/index.html @@ -75,7 +75,7 @@ p { -

        {{EmbedLiveSample("vertical-align-inline", 1200, 120, "", "", "example-outcome-frame")}}

        +

        {{EmbedLiveSample("vertical-align-inline", 1200, 160)}}

        • Для вертикального позиционирования содержимого ячейки таблицы:
        • @@ -109,7 +109,7 @@ td { -

          {{EmbedLiveSample("vertical-align-table", 1200, 210, "", "", "example-outcome-frame")}}

          +

          {{EmbedLiveSample("vertical-align-table", 1200, 230)}}

          Обратите внимание: свойство vertical-align применяется только к строчным элементам и элементам ячеек таблицы: его нельзя использовать для вертикального позиционирования блочных элементов.

          diff --git a/files/zh-cn/web/css/vertical-align/index.html b/files/zh-cn/web/css/vertical-align/index.html index 3c55e414be..14acdecb59 100644 --- a/files/zh-cn/web/css/vertical-align/index.html +++ b/files/zh-cn/web/css/vertical-align/index.html @@ -60,7 +60,7 @@ p {
          -

          {{EmbedLiveSample("vertical-align-inline", 1200, 120, "", "", "example-outcome-frame")}}

          +

          {{EmbedLiveSample("vertical-align-inline", 1200, 160)}}

          • 垂直对齐表格单元内容:
          • @@ -99,7 +99,7 @@ td { -

            {{EmbedLiveSample("vertical-align-table", 1200, 210, "", "", "example-outcome-frame")}}

            +

            {{EmbedLiveSample("vertical-align-table", 1200, 230)}}

            注意 vertical-align 只对行内元素、行内块元素和表格单元格元素生效:不能用它垂直对齐块级元素

            -- cgit v1.2.3-54-g00ecf