Quellcode durchsuchen

some style changes

Mila-Zagrevskaya vor 5 Jahren
Ursprung
Commit
e1c7e6b4b5
2 geänderte Dateien mit 3 neuen und 4 gelöschten Zeilen
  1. 0 2
      src/components/Calendar.js
  2. 3 2
      src/style/calendar.scss

+ 0 - 2
src/components/Calendar.js

@@ -63,8 +63,6 @@ export class Calendar extends React.Component {
                             id={el.day}
                             disabled={el.disabled}
                             style={{
-                                width:"50px",
-                                height:"50px",
                                 backgroundColor:el.backgroundColor,
                                 border:el.border
                             }}

+ 3 - 2
src/style/calendar.scss

@@ -16,6 +16,7 @@ $opacity-color: rgba(17,17,17,0.8);
         align-items: center;
         h4 {
             margin: 0 20px;
+            font-weight: 400;
         }
     }
     .weekdays {
@@ -34,8 +35,8 @@ $opacity-color: rgba(17,17,17,0.8);
         width: 30px;
     }
     button {
-        width:50px;
-        height: 50px;
+        width: 50px;
+        height: 40px;
         &:focus {
             outline: none;
         }