mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-18 13:52:20 +00:00
Use vmax for icon size and placement
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
.DateSwitchBar {
|
||||
width: 100%;
|
||||
height: 3.5vh;
|
||||
height: 3vmax;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
left: 3.5vh;
|
||||
left: 3vmax;
|
||||
top: 0;
|
||||
|
||||
width: 3.5vh;
|
||||
height: 3.5vh;
|
||||
width: 3vmax;
|
||||
height: 3vmax;
|
||||
border: .15em solid rgba(255, 255, 255, 0.75);
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
.App .DateSwitchBar-container {
|
||||
position: absolute;
|
||||
top: 4vh;
|
||||
top: 3vmax;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
transform: translate(-50%, 0);
|
||||
|
||||
Reference in New Issue
Block a user