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

Add top padding to EventTilePreview loader #8977

Merged
merged 1 commit into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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