Replace project icon border (#1319)
Icons in project pages with featured images and in search results with gallery view have borders that resize their 96x96 icons to 88x92. These box-shadow replacements preserve icon size while retaining visual equivalency (rounded 4px border around left, top, and right).
This commit is contained in:
parent
806fcb6ed2
commit
0a59a06121
@ -305,8 +305,7 @@ export default {
|
||||
img,
|
||||
svg {
|
||||
border-radius: var(--size-rounded-lg);
|
||||
border: 4px solid var(--color-raised-bg);
|
||||
border-bottom: none;
|
||||
box-shadow: -2px -2px 0 2px var(--color-raised-bg), 2px -2px 0 2px var(--color-raised-bg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1159,8 +1159,7 @@ const collapsedChecklist = ref(false)
|
||||
margin-top: calc(-3rem - var(--spacing-card-lg) - 4px);
|
||||
margin-left: -4px;
|
||||
z-index: 1;
|
||||
border: 4px solid var(--color-raised-bg);
|
||||
border-bottom: none;
|
||||
box-shadow: -2px -2px 0 2px var(--color-raised-bg), 2px -2px 0 2px var(--color-raised-bg);
|
||||
}
|
||||
}
|
||||
.project__header__content {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user