Created
April 8, 2015 16:02
-
-
Save Doopin/74817920a3847c198332 to your computer and use it in GitHub Desktop.
Modify Select2 CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Put this CSS declaration in another file which will be loadeed after Select2 Css file*/ | |
/* He we reset the border-radius only for a particular bloc */ | |
#sign-up-form .select2-container .select2-selection--single { | |
border-bottom-left-radius: 0; | |
border-top-left-radius: 0; | |
} | |
/* This css will force select2 box heigth to match with standard Bootstrap input element height*/ | |
.select2-container .select2-selection--single { | |
height: 35px; | |
} | |
.select2-container--default .select2-selection--single .select2-selection__rendered { | |
line-height: 33px; | |
} | |
.select2-container--default .select2-selection--single .select2-selection__arrow { | |
right: 5px; | |
top: 5px; | |
}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment