You've already forked AstralRinth
forked from didirus/AstralRinth
Merge pull request #87 from Banzobotic/fix-clickable-edges
Fix clicking edges of clickable elements
This commit is contained in:
@@ -231,9 +231,30 @@ a,
|
|||||||
transition: opacity 0.5s ease-in-out, filter 0.2s ease-in-out, scale 0.05s ease-in-out,
|
transition: opacity 0.5s ease-in-out, filter 0.2s ease-in-out, scale 0.05s ease-in-out,
|
||||||
outline 0.2s ease-in-out;
|
outline 0.2s ease-in-out;
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:not(.markdown-body a) {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
&:active:not(&:disabled) {
|
&:active:not(&:disabled) {
|
||||||
scale: 0.95;
|
scale: 0.95;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:not(.markdown-body a)::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
pointer-events: all;
|
||||||
|
border-radius: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active::before {
|
||||||
|
scale: 1.1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-base {
|
.button-base {
|
||||||
|
|||||||
Reference in New Issue
Block a user