File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 58
58
.topnav {
59
59
flex-direction : column; /* Stacks items vertically */
60
60
align-items : flex-start; /* Aligns items to the left */
61
- padding : 8 px 10 px ; /* Thinner padding for a slimmer bar */
61
+ padding : 0 ; /* Removes padding for a tighter fit */
62
62
box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Adds a subtle shadow */
63
+ width : 100% ; /* Ensures full width */
63
64
}
64
65
65
66
.topnav # myLinks {
74
75
font-size : 14px ; /* Slightly smaller font size */
75
76
background-color : # 808080 ;
76
77
color : # ffffff ; /* White text for better contrast */
77
- padding : 4 px 6px ; /* Minimal padding for a thinner icon */
78
+ padding : 6px ; /* Minimal padding for a thinner icon */
78
79
cursor : pointer;
79
- margin-right : auto; /* Pushes the icon to the left */
80
- margin-left : 12px ; /* Adds space from the left edge */
80
+ margin : 0 ; /* Removes margin for alignment */
81
81
order : -1 ; /* Ensures the icon appears first in the flex container */
82
- border-radius : 4px ; /* Optional: Rounds the edges for a better look */
82
+ border-radius : 0 ; /* Removes rounded edges */
83
+ align-self : flex-start; /* Aligns the icon to the left */
83
84
}
84
85
85
86
.topnav a .normal {
You can’t perform that action at this time.
0 commit comments