Disable no-shorthand for certain props for better readability
This commit is contained in:
parent
7dc2277453
commit
a28032fa58
4 changed files with 20 additions and 10 deletions
|
|
@ -14,11 +14,9 @@
|
|||
|
||||
.inner-nav {
|
||||
display: grid;
|
||||
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
|
||||
grid-template-rows: var(--navbar-height);
|
||||
grid-template-columns: 2fr auto 2fr;
|
||||
grid-template-areas: "sitename logo actions";
|
||||
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
|
||||
box-sizing: border-box;
|
||||
padding: 0 1.2em;
|
||||
margin: auto;
|
||||
|
|
|
|||
|
|
@ -43,11 +43,10 @@
|
|||
mask-composite: exclude;
|
||||
background-size: cover;
|
||||
mask-size: 100% 60%;
|
||||
border-radius:
|
||||
calc(var(--__roundnessTop, --panelRadius) - 1px)
|
||||
calc(var(--__roundnessTop, --panelRadius) - 1px)
|
||||
calc(var(--__roundnessBottom, --panelRadius) - 1px)
|
||||
calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
||||
border-top-left-radius: calc(var(--__roundnessTop, --panelRadius) - 1px);
|
||||
border-top-right-radius: calc(var(--__roundnessTop, --panelRadius) - 1px);
|
||||
border-bottom-left-radius: calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
||||
border-bottom-right-radius: calc(var(--__roundnessBottom, --panelRadius) - 1px);
|
||||
background-color: var(--profileBg);
|
||||
z-index: -2;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue