💄 Enhance SettingsToggleBlock with loading state

This commit is contained in:
Philipp Stracker 2024-11-07 13:24:29 +01:00
parent 4af29a5dc2
commit d9a82948f7
No known key found for this signature in database
2 changed files with 14 additions and 3 deletions

View file

@ -1,4 +1,6 @@
.ppcp-r-toggle-block {
position: relative;
&__wrapper {
display: flex;
width: 100%;
@ -29,4 +31,10 @@
&__toggled-content {
margin-top: 24px;
}
&.ppcp--is-loading {
pointer-events: none;
--spinner-overlay-color: #fff4;
}
}