mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Move popover padding into the component
This makes sure all popovers are styled the same way.
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
right: 1rem;
|
right: 1rem;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -50,10 +50,7 @@
|
|||||||
<IconSmall name="branch" />
|
<IconSmall name="branch" />
|
||||||
<div class="identifier">{project.defaultBranch}</div>
|
<div class="identifier">{project.defaultBranch}</div>
|
||||||
</Button>
|
</Button>
|
||||||
<div
|
<div class="txt-small" slot="popover">
|
||||||
class="txt-small"
|
|
||||||
style:padding="0.5rem 0.5rem 0.5rem 0.75rem"
|
|
||||||
slot="popover">
|
|
||||||
<div style:margin-bottom="1rem">
|
<div style:margin-bottom="1rem">
|
||||||
You are currently browsing the canonical branch.
|
You are currently browsing the canonical branch.
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -109,10 +109,7 @@
|
|||||||
{pluralize("contributor", tree.stats.contributors)}
|
{pluralize("contributor", tree.stats.contributors)}
|
||||||
</div>
|
</div>
|
||||||
</Button>
|
</Button>
|
||||||
<div
|
<div class="txt-small" slot="popover">
|
||||||
class="txt-small"
|
|
||||||
style:padding="0.5rem 0.5rem 0.5rem 0.75rem"
|
|
||||||
slot="popover">
|
|
||||||
<div style:margin-bottom="1rem">Coming soon.</div>
|
<div style:margin-bottom="1rem">Coming soon.</div>
|
||||||
<div>Listing all contributors is not yet implemented.</div>
|
<div>Listing all contributors is not yet implemented.</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user