Fix box-sizing

old-stable24
Varun Patil 2022-10-20 14:43:18 -07:00
parent cf1da09b65
commit 2bb0c657e6
4 changed files with 4 additions and 2 deletions

View File

@ -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 {

View File

@ -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;

View File

@ -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 {

View File

@ -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>