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

Commit

Permalink
Add top padding to EventTilePreview loader (#8977)
Browse files Browse the repository at this point in the history
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul authored Jul 4, 2022
1 parent 4b17307 commit 7cf0f2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions res/css/views/elements/_EventTilePreview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_FontScalingPanel_preview.mx_EventTilePreview_loader {
padding: 9px 0;
.mx_FontScalingPanel {
.mx_FontScalingPanel_preview.mx_EventTilePreview_loader {
padding: var(--FontScalingPanel_preview-padding-block) 0;
}
}
4 changes: 3 additions & 1 deletion res/css/views/settings/_FontScalingPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ limitations under the License.
}

.mx_FontScalingPanel_preview {
--FontScalingPanel_preview-padding-block: 9px;

border: 1px solid $quinary-content;
border-radius: 10px;
padding: 0 $spacing-16 9px $spacing-16;
padding: 0 $spacing-16 var(--FontScalingPanel_preview-padding-block) $spacing-16;
pointer-events: none;
display: flow-root;

Expand Down

0 comments on commit 7cf0f2d

Please sign in to comment.