Fix box-sizing
parent
cf1da09b65
commit
2bb0c657e6
|
@ -176,6 +176,7 @@ export default class Folder extends Mixins(GlobalMixin, UserConfig) {
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
box-sizing: border-box;
|
||||||
@media (max-width: 768px) { padding: 1px; }
|
@media (max-width: 768px) { padding: 1px; }
|
||||||
|
|
||||||
> .img-outer {
|
> .img-outer {
|
||||||
|
|
|
@ -209,6 +209,7 @@ $icon-dist: min(10px, 6%);
|
||||||
/* Actual image */
|
/* Actual image */
|
||||||
div.img-outer {
|
div.img-outer {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
box-sizing: border-box;
|
||||||
@media (max-width: 768px) { padding: 1px; }
|
@media (max-width: 768px) { padding: 1px; }
|
||||||
|
|
||||||
transition: padding 0.1s ease;
|
transition: padding 0.1s ease;
|
||||||
|
|
|
@ -150,6 +150,7 @@ export default class Tag extends Mixins(GlobalMixin) {
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
box-sizing: border-box;
|
||||||
@media (max-width: 768px) { padding: 1px; }
|
@media (max-width: 768px) { padding: 1px; }
|
||||||
|
|
||||||
> .img-outer {
|
> .img-outer {
|
||||||
|
|
|
@ -77,8 +77,7 @@ export default class FaceMergeModal extends Mixins(GlobalMixin) {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
|
|
||||||
max-width: 120px;
|
max-width: 120px;
|
||||||
width: calc(33.33% - 2px);
|
width: calc(33.33%);
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
margin: 1px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue