mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
[CORL-263, CORL-225] Story Titles, Moderate Story, Mini Unit (#2294)
* feat: show story title + moderate this story link * feat: introduce mini unit * test: add tests for moderate story link * fix: snapshot * fix: lint / test * fix: unwanted margin
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
.value {
|
||||
width: calc(6 * var(--spacing-unit));
|
||||
width: calc(6 * var(--mini-unit));
|
||||
}
|
||||
|
||||
.unit {
|
||||
height: 100%;
|
||||
min-width: calc(17 * var(--spacing-unit));
|
||||
min-width: calc(17 * var(--mini-unit));
|
||||
}
|
||||
|
||||
@@ -27,9 +27,9 @@
|
||||
}
|
||||
blockquote {
|
||||
background-color: rgba(255, 255, 255, 0.66);
|
||||
padding: var(--spacing-unit);
|
||||
margin: calc(2 * var(--spacing-unit)) 0 calc(2 * var(--spacing-unit))
|
||||
var(--spacing-unit);
|
||||
padding: var(--mini-unit);
|
||||
margin: calc(2 * var(--mini-unit)) 0 calc(2 * var(--mini-unit))
|
||||
var(--mini-unit);
|
||||
border-radius: var(--round-corners);
|
||||
&::after {
|
||||
content: none;
|
||||
|
||||
@@ -30,9 +30,9 @@ $fullscreenZIndex: 10;
|
||||
}
|
||||
blockquote {
|
||||
background-color: rgba(0, 0, 0, 0.075);
|
||||
padding: var(--spacing-unit);
|
||||
margin: calc(2 * var(--spacing-unit)) 0 calc(2 * var(--spacing-unit))
|
||||
var(--spacing-unit);
|
||||
padding: var(--mini-unit);
|
||||
margin: calc(2 * var(--mini-unit)) 0 calc(2 * var(--mini-unit))
|
||||
var(--mini-unit);
|
||||
border-radius: var(--round-corners);
|
||||
&::after {
|
||||
content: none;
|
||||
|
||||
Reference in New Issue
Block a user