Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7cf0f2d

Browse files
authored
Add top padding to EventTilePreview loader (#8977)
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 4b17307 commit 7cf0f2d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

res/css/views/elements/_EventTilePreview.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_FontScalingPanel_preview.mx_EventTilePreview_loader {
18-
padding: 9px 0;
17+
.mx_FontScalingPanel {
18+
.mx_FontScalingPanel_preview.mx_EventTilePreview_loader {
19+
padding: var(--FontScalingPanel_preview-padding-block) 0;
20+
}
1921
}

res/css/views/settings/_FontScalingPanel.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ limitations under the License.
2323
}
2424

2525
.mx_FontScalingPanel_preview {
26+
--FontScalingPanel_preview-padding-block: 9px;
27+
2628
border: 1px solid $quinary-content;
2729
border-radius: 10px;
28-
padding: 0 $spacing-16 9px $spacing-16;
30+
padding: 0 $spacing-16 var(--FontScalingPanel_preview-padding-block) $spacing-16;
2931
pointer-events: none;
3032
display: flow-root;
3133

0 commit comments

Comments
 (0)