mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
web/layout: add a rounded corner & top border when installed on desktop
Some checks are pending
Some checks are pending
This commit is contained in:
parent
d4a2fe507f
commit
f9a3fb1396
@ -104,6 +104,7 @@
|
|||||||
class:loaded={browser}
|
class:loaded={browser}
|
||||||
data-chrome={device.browser.chrome}
|
data-chrome={device.browser.chrome}
|
||||||
data-iphone={device.is.iPhone}
|
data-iphone={device.is.iPhone}
|
||||||
|
data-mobile={device.is.mobile}
|
||||||
data-reduce-motion={reduceMotion}
|
data-reduce-motion={reduceMotion}
|
||||||
data-reduce-transparency={reduceTransparency}
|
data-reduce-transparency={reduceTransparency}
|
||||||
>
|
>
|
||||||
@ -163,7 +164,20 @@
|
|||||||
margin-left: var(--content-border-thickness);
|
margin-left: var(--content-border-thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (display-mode: standalone) and (min-width: 535px) {
|
||||||
|
[data-mobile="false"] #content {
|
||||||
|
margin-top: var(--content-border-thickness);
|
||||||
|
border-top-left-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-mobile="false"] #content:dir(rtl) {
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
border-top-right-radius: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#content:dir(rtl) {
|
#content:dir(rtl) {
|
||||||
|
margin-left: 0;
|
||||||
margin-right: var(--content-border-thickness);
|
margin-right: var(--content-border-thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user