From 5656f85eab324e13a5c66a49b0994a96f1acffec Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 17:12:22 +0800 Subject: feat: adjust UI components for better portrait view --- site/src/views/index/Notepad/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'site/src/views/index/Notepad') diff --git a/site/src/views/index/Notepad/index.vue b/site/src/views/index/Notepad/index.vue index c4c82aa..fde6e90 100644 --- a/site/src/views/index/Notepad/index.vue +++ b/site/src/views/index/Notepad/index.vue @@ -40,6 +40,14 @@ h3 { .details { flex: 1; - width: 30dvw; + width: 60dvw; + float: right; +} + +@media screen and (orientation:landscape) { + .details { + flex: 1; + width: 30dvw; + } } -- cgit v1.2.3-70-g09d2