mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/ChangelogSkeleton: fix title skeleton cutting off, reduce rounding
This commit is contained in:
parent
d8acb5406a
commit
238cd22c8d
2 changed files with 6 additions and 7 deletions
|
@ -14,12 +14,10 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h1 class="changelog-title">
|
|
||||||
<Skeleton
|
<Skeleton
|
||||||
width="28em"
|
width="100%"
|
||||||
height="27.59px"
|
height="27.59px"
|
||||||
/>
|
/>
|
||||||
</h1>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="changelog-content">
|
<div class="changelog-content">
|
||||||
<Skeleton
|
<Skeleton
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.skeleton {
|
.skeleton {
|
||||||
border-radius: var(--border-radius);
|
border-radius: calc(var(--border-radius) / 2);
|
||||||
background-color: var(--button);
|
background-color: var(--button);
|
||||||
background-image: var(--skeleton-gradient);
|
background-image: var(--skeleton-gradient);
|
||||||
background-size: 200px 100%;
|
background-size: 200px 100%;
|
||||||
|
@ -40,6 +40,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.skeleton.big {
|
.skeleton.big {
|
||||||
|
border-radius: var(--border-radius);
|
||||||
background-size: 700px 100%;
|
background-size: 700px 100%;
|
||||||
animation: skeleton-big 1.2s ease-in-out infinite;
|
animation: skeleton-big 1.2s ease-in-out infinite;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue