Add top padding to EventTilePreview loader (#8977)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-07-04 15:27:22 +09:00 committed by GitHub
parent 4b17307d79
commit 7cf0f2d66d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -14,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_FontScalingPanel_preview.mx_EventTilePreview_loader { .mx_FontScalingPanel {
padding: 9px 0; .mx_FontScalingPanel_preview.mx_EventTilePreview_loader {
padding: var(--FontScalingPanel_preview-padding-block) 0;
}
} }

View file

@ -23,9 +23,11 @@ limitations under the License.
} }
.mx_FontScalingPanel_preview { .mx_FontScalingPanel_preview {
--FontScalingPanel_preview-padding-block: 9px;
border: 1px solid $quinary-content; border: 1px solid $quinary-content;
border-radius: 10px; border-radius: 10px;
padding: 0 $spacing-16 9px $spacing-16; padding: 0 $spacing-16 var(--FontScalingPanel_preview-padding-block) $spacing-16;
pointer-events: none; pointer-events: none;
display: flow-root; display: flow-root;