mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed months passed label
This commit is contained in:
parent
0286b6f1a5
commit
46c0cd7e6a
3 changed files with 10 additions and 17 deletions
|
@ -84,10 +84,9 @@ const CommentContent: FC<IProps> = memo(
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrap}>
|
<div className={styles.wrap}>
|
||||||
|
{!!prefix && <div className={styles.prefix}>{prefix}</div>}
|
||||||
{comment.text.trim() && (
|
{comment.text.trim() && (
|
||||||
<Group className={classnames(styles.block, styles.block_text)}>
|
<Group className={classnames(styles.block, styles.block_text)}>
|
||||||
{!!prefix && <div className={styles.prefix}>{prefix}</div>}
|
|
||||||
|
|
||||||
{menu}
|
{menu}
|
||||||
|
|
||||||
<Group className={styles.renderers}>
|
<Group className={styles.renderers}>
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
@import "~flexbin/flexbin";
|
@import "~flexbin/flexbin";
|
||||||
|
|
||||||
.wrap {
|
.wrap {
|
||||||
position: relative;
|
|
||||||
@include row_shadow;
|
@include row_shadow;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lock,
|
.lock,
|
||||||
|
@ -163,13 +163,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.prefix {
|
.prefix {
|
||||||
display: inline-flex;
|
@include row_shadow;
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
margin-top: 1px;
|
||||||
left: 0;
|
display: flex;
|
||||||
right: 0;
|
|
||||||
transform: translate(0, -50%);
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
@import "src/styles/variables";
|
@import "src/styles/variables";
|
||||||
|
|
||||||
.bar {
|
.bar {
|
||||||
@include inner_shadow;
|
|
||||||
|
|
||||||
font: $font_12_regular;
|
font: $font_12_regular;
|
||||||
color: darken(white, 50%);
|
color: darken(white, 70%);
|
||||||
background: $content_bg;
|
|
||||||
display: inline-flex;
|
|
||||||
padding: 1px 10px 3px;
|
|
||||||
border-radius: 12px;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
padding: 0 0 2px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue