mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed node header paddings
This commit is contained in:
parent
db7c076b96
commit
f683fbe1dc
2 changed files with 3 additions and 4 deletions
|
@ -166,7 +166,7 @@ const NodeImageSlideBlock: FC<IProps> = ({
|
||||||
if (!wrap.current) return;
|
if (!wrap.current) return;
|
||||||
const { width } = wrap.current.getBoundingClientRect();
|
const { width } = wrap.current.getBoundingClientRect();
|
||||||
// setMaxHeight(width * NODE_SETTINGS.MAX_IMAGE_ASPECT);
|
// setMaxHeight(width * NODE_SETTINGS.MAX_IMAGE_ASPECT);
|
||||||
setMaxHeight(window.innerHeight - 152);
|
setMaxHeight(window.innerHeight - 143);
|
||||||
normalizeOffset();
|
normalizeOffset();
|
||||||
}, [wrap, setMaxHeight, normalizeOffset]);
|
}, [wrap, setMaxHeight, normalizeOffset]);
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: stretch;
|
justify-content: stretch;
|
||||||
position: relative;
|
position: relative;
|
||||||
// height: 72px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -28,7 +27,7 @@
|
||||||
justify-content: stretch;
|
justify-content: stretch;
|
||||||
border-radius: $radius $radius 0 0;
|
border-radius: $radius $radius 0 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: $gap;
|
padding: $gap $gap;
|
||||||
background: $node_bg;
|
background: $node_bg;
|
||||||
|
|
||||||
@include outer_shadow();
|
@include outer_shadow();
|
||||||
|
@ -49,7 +48,7 @@
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font: $font_24_semibold;
|
font: $font_24_semibold;
|
||||||
// height: 24px;
|
// height: 24px;
|
||||||
padding-bottom: 6px;
|
// padding-bottom: 6px;
|
||||||
|
|
||||||
@include tablet {
|
@include tablet {
|
||||||
// font-size: 16px;
|
// font-size: 16px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue