File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-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 : 0 ; /* Removes padding for a tighter fit */
62
- box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Adds a subtle shadow */
61
+ padding : 0 ; /* Removes all padding */
62
+ margin : 0 ; /* Removes all margin */
63
+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Adds a shadow below the bar */
63
64
width : 100% ; /* Ensures full width */
64
65
}
65
66
75
76
font-size : 14px ; /* Slightly smaller font size */
76
77
background-color : # 808080 ;
77
78
color : # ffffff ; /* White text for better contrast */
78
- padding : 6px ; /* Minimal padding for a thinner icon */
79
+ padding : 6px 10px ; /* Minimal padding for a thinner icon */
80
+ margin : 0 ; /* Removes all margins */
79
81
cursor : pointer;
80
- margin : 0 ; /* Removes margin for alignment */
81
- order : -1 ; /* Ensures the icon appears first in the flex container */
82
82
border-radius : 0 ; /* Removes rounded edges */
83
83
align-self : flex-start; /* Aligns the icon to the left */
84
+ width : 100% ; /* Ensures full width for the icon */
85
+ box-sizing : border-box; /* Includes padding in width calculation */
84
86
}
85
87
86
88
.topnav a .normal {
You can’t perform that action at this time.
0 commit comments